diff options
author | wlemb <wlemb> | 2004-04-17 06:41:46 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2004-04-17 06:41:46 +0000 |
commit | 3f3dc53655e90cb788123a78b30e000312f0ed02 (patch) | |
tree | 15f862d2220e60fddbd95e94ad8014e09bf51f55 /src/include | |
parent | 6e94b108a6454ceef64dce83d4055d9cc8740fca (diff) | |
download | groff-3f3dc53655e90cb788123a78b30e000312f0ed02.tar.gz |
* src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
`double' instead of `float' everywhere.
* src/preproc/grn/main.cpp: Use `double' instead of `float'
everywhere.
(main): Add return value.
* src/preproc/grn/hdb.cpp: Use `double' instead of `float'
everywhere.
Update all user functions.
* src/include/search.h, src/include/ptable.h, src/include/printer.h,
src/preproc/eqn/box.h, src/preproc/pic/object.h,
src/preproc/refer/refer.h, src/preproc/tbl/table.h,
src/preproc/tbl/table.cpp, src/roff/troff/env.h,
src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
src/roff/troff/input.cpp, src/roff/troff/request.h,
src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
declarations.
* src/utils/indxbib/signal.c: Include stdlib.h.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/printer.h | 4 | ||||
-rw-r--r-- | src/include/ptable.h | 5 | ||||
-rw-r--r-- | src/include/search.h | 8 |
3 files changed, 9 insertions, 8 deletions
diff --git a/src/include/printer.h b/src/include/printer.h index 3976215b..95c0a885 100644 --- a/src/include/printer.h +++ b/src/include/printer.h @@ -2,7 +2,7 @@ // <groff_src_dir>/src/include/printer.h -/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003 +/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) @@ -49,7 +49,7 @@ struct environment { color *fill; }; -struct font; +class font; struct font_pointer_list { font *p; diff --git a/src/include/ptable.h b/src/include/ptable.h index ffbe8e6f..dd31c0e3 100644 --- a/src/include/ptable.h +++ b/src/include/ptable.h @@ -1,5 +1,6 @@ // -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992, 2003 Free Software Foundation, Inc. +/* Copyright (C) 1989, 1990, 1991, 1992, 2003, 2004 + Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) This file is part of groff. @@ -43,7 +44,7 @@ struct PASSOC(T) { \ PASSOC(T)(); \ }; \ \ -struct PTABLE(T); \ +class PTABLE(T); \ \ class PTABLE_ITERATOR(T) { \ PTABLE(T) *p; \ diff --git a/src/include/search.h b/src/include/search.h index 260410e2..9617aab8 100644 --- a/src/include/search.h +++ b/src/include/search.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc. +/* Copyright (C) 1989, 1990, 1991, 1992, 2004 Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) This file is part of groff. @@ -18,8 +18,8 @@ You should have received a copy of the GNU General Public License along with groff; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -struct search_item; -struct search_item_iterator; +class search_item; +class search_item_iterator; class search_list { public: @@ -34,7 +34,7 @@ private: friend class search_list_iterator; }; -struct bmpattern; +class bmpattern; class linear_searcher { const char *ignore_fields; |