From: Bruno Haible Date: Wed, 22 Aug 2007 23:11:56 +0000 (+0000) Subject: Don't include getline.h. X-Git-Tag: v0.17~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcbebd1fef82f81c43770bb643fd71ed3b5998ad;p=thirdparty%2Fgettext.git Don't include getline.h. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index aa79843d6..8ade3d7cb 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,28 @@ +2007-08-23 Bruno Haible + + * file-list.c: Don't include getline.h. + * format-awk.c: Likewise. + * format-boost.c: Likewise. + * format-c.c: Likewise. + * format-csharp.c: Likewise. + * format-elisp.c: Likewise. + * format-gcc-internal.c: Likewise. + * format-java.c: Likewise. + * format-librep.c: Likewise. + * format-lisp.c: Likewise. + * format-pascal.c: Likewise. + * format-perl-brace.c: Likewise. + * format-perl.c: Likewise. + * format-php.c: Likewise. + * format-python.c: Likewise. + * format-qt.c: Likewise. + * format-scheme.c: Likewise. + * format-sh.c: Likewise. + * format-tcl.c: Likewise. + * format-ycp.c: Likewise. + * msginit.c: Likewise. + * x-perl.c: Likewise. + 2007-08-18 Bruno Haible * write-csharp.c (msgdomain_write_csharp): Don't recommend to use diff --git a/gettext-tools/src/file-list.c b/gettext-tools/src/file-list.c index a3df2dcdc..ed42b4242 100644 --- a/gettext-tools/src/file-list.c +++ b/gettext-tools/src/file-list.c @@ -29,7 +29,6 @@ #include "str-list.h" #include "error.h" -#include "getline.h" #include "gettext.h" /* A convenience macro. I don't like writing gettext() every time. */ diff --git a/gettext-tools/src/format-awk.c b/gettext-tools/src/format-awk.c index db3f09e4c..00a10e5c4 100644 --- a/gettext-tools/src/format-awk.c +++ b/gettext-tools/src/format-awk.c @@ -1,5 +1,5 @@ /* awk format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software; you can redistribute it and/or modify @@ -569,7 +569,6 @@ struct formatstring_parser formatstring_awk = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-boost.c b/gettext-tools/src/format-boost.c index 318f4b6bd..49e55fed1 100644 --- a/gettext-tools/src/format-boost.c +++ b/gettext-tools/src/format-boost.c @@ -1,5 +1,5 @@ /* Boost format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2006. This program is free software; you can redistribute it and/or modify @@ -677,7 +677,6 @@ struct formatstring_parser formatstring_boost = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-c.c b/gettext-tools/src/format-c.c index 7c65fe0d6..6ae335250 100644 --- a/gettext-tools/src/format-c.c +++ b/gettext-tools/src/format-c.c @@ -1,5 +1,5 @@ /* C format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -982,7 +982,6 @@ get_sysdep_c_format_directives (const char *string, bool translated, format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-csharp.c b/gettext-tools/src/format-csharp.c index 0b57d8eda..b30a5a3ed 100644 --- a/gettext-tools/src/format-csharp.c +++ b/gettext-tools/src/format-csharp.c @@ -1,5 +1,5 @@ /* C# format strings. - Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2003-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify @@ -229,7 +229,6 @@ struct formatstring_parser formatstring_csharp = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-elisp.c b/gettext-tools/src/format-elisp.c index 34455d81b..2822e58e4 100644 --- a/gettext-tools/src/format-elisp.c +++ b/gettext-tools/src/format-elisp.c @@ -1,5 +1,5 @@ /* Emacs Lisp format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software; you can redistribute it and/or modify @@ -408,7 +408,6 @@ struct formatstring_parser formatstring_elisp = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-gcc-internal.c b/gettext-tools/src/format-gcc-internal.c index 71596730c..f1be9da5a 100644 --- a/gettext-tools/src/format-gcc-internal.c +++ b/gettext-tools/src/format-gcc-internal.c @@ -698,7 +698,6 @@ struct formatstring_parser formatstring_gcc_internal = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-java.c b/gettext-tools/src/format-java.c index 010a37dd8..0301bcbd7 100644 --- a/gettext-tools/src/format-java.c +++ b/gettext-tools/src/format-java.c @@ -805,7 +805,6 @@ struct formatstring_parser formatstring_java = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-librep.c b/gettext-tools/src/format-librep.c index bd460b7cb..295c01bbd 100644 --- a/gettext-tools/src/format-librep.c +++ b/gettext-tools/src/format-librep.c @@ -1,5 +1,5 @@ /* librep format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -372,7 +372,6 @@ struct formatstring_parser formatstring_librep = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-lisp.c b/gettext-tools/src/format-lisp.c index aa6f64245..bb6b0622a 100644 --- a/gettext-tools/src/format-lisp.c +++ b/gettext-tools/src/format-lisp.c @@ -1,5 +1,5 @@ /* Lisp format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -3518,7 +3518,6 @@ struct formatstring_parser formatstring_lisp = format_parse for strings read from standard input. */ #include -#include "getline.h" static void print_list (struct format_arg_list *list); diff --git a/gettext-tools/src/format-pascal.c b/gettext-tools/src/format-pascal.c index 5ba0d0fe0..74e798b8b 100644 --- a/gettext-tools/src/format-pascal.c +++ b/gettext-tools/src/format-pascal.c @@ -1,5 +1,5 @@ /* Object Pascal format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -461,7 +461,6 @@ struct formatstring_parser formatstring_pascal = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-perl-brace.c b/gettext-tools/src/format-perl-brace.c index e72aff13a..4feae6728 100644 --- a/gettext-tools/src/format-perl-brace.c +++ b/gettext-tools/src/format-perl-brace.c @@ -1,5 +1,5 @@ /* Perl brace format strings. - Copyright (C) 2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify @@ -230,7 +230,6 @@ struct formatstring_parser formatstring_perl_brace = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-perl.c b/gettext-tools/src/format-perl.c index c87de485c..4e0ac6677 100644 --- a/gettext-tools/src/format-perl.c +++ b/gettext-tools/src/format-perl.c @@ -1,5 +1,5 @@ /* Perl format strings. - Copyright (C) 2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify @@ -644,7 +644,6 @@ struct formatstring_parser formatstring_perl = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-php.c b/gettext-tools/src/format-php.c index 1b0f4a4b9..0ea0725e8 100644 --- a/gettext-tools/src/format-php.c +++ b/gettext-tools/src/format-php.c @@ -1,5 +1,5 @@ /* PHP format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software; you can redistribute it and/or modify @@ -410,7 +410,6 @@ struct formatstring_parser formatstring_php = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-python.c b/gettext-tools/src/format-python.c index 3c3148910..10c93c720 100644 --- a/gettext-tools/src/format-python.c +++ b/gettext-tools/src/format-python.c @@ -1,5 +1,5 @@ /* Python format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -558,7 +558,6 @@ get_python_format_unnamed_arg_count (const char *string) format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-qt.c b/gettext-tools/src/format-qt.c index 90cc0f513..75407ed64 100644 --- a/gettext-tools/src/format-qt.c +++ b/gettext-tools/src/format-qt.c @@ -1,5 +1,5 @@ /* Qt format strings. - Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2003-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify @@ -162,7 +162,6 @@ struct formatstring_parser formatstring_qt = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-scheme.c b/gettext-tools/src/format-scheme.c index bc021b9d6..65482ff08 100644 --- a/gettext-tools/src/format-scheme.c +++ b/gettext-tools/src/format-scheme.c @@ -1,5 +1,5 @@ /* Scheme format strings. - Copyright (C) 2001-2006 Free Software Foundation, Inc. + Copyright (C) 2001-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -3441,7 +3441,6 @@ struct formatstring_parser formatstring_scheme = format_parse for strings read from standard input. */ #include -#include "getline.h" static void print_list (struct format_arg_list *list); diff --git a/gettext-tools/src/format-sh.c b/gettext-tools/src/format-sh.c index 097be8c4b..207cafb1a 100644 --- a/gettext-tools/src/format-sh.c +++ b/gettext-tools/src/format-sh.c @@ -1,5 +1,5 @@ /* Shell format strings. - Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2003-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify @@ -338,7 +338,6 @@ struct formatstring_parser formatstring_sh = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-tcl.c b/gettext-tools/src/format-tcl.c index 35831f148..9dec03aac 100644 --- a/gettext-tools/src/format-tcl.c +++ b/gettext-tools/src/format-tcl.c @@ -1,5 +1,5 @@ /* Tcl format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software; you can redistribute it and/or modify @@ -450,7 +450,6 @@ struct formatstring_parser formatstring_tcl = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/format-ycp.c b/gettext-tools/src/format-ycp.c index 7f8f83d56..3459b01cc 100644 --- a/gettext-tools/src/format-ycp.c +++ b/gettext-tools/src/format-ycp.c @@ -1,5 +1,5 @@ /* YCP and Smalltalk format strings. - Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. + Copyright (C) 2001-2004, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -179,7 +179,6 @@ struct formatstring_parser formatstring_smalltalk = format_parse for strings read from standard input. */ #include -#include "getline.h" static void format_print (void *descr) diff --git a/gettext-tools/src/msginit.c b/gettext-tools/src/msginit.c index 8d2392759..5cd1e7f13 100644 --- a/gettext-tools/src/msginit.c +++ b/gettext-tools/src/msginit.c @@ -81,7 +81,6 @@ #include "plural-count.h" #include "pipe.h" #include "wait-process.h" -#include "getline.h" #include "xsetenv.h" #include "str-list.h" #include "propername.h" diff --git a/gettext-tools/src/x-perl.c b/gettext-tools/src/x-perl.c index 863155f63..431cab6fa 100644 --- a/gettext-tools/src/x-perl.c +++ b/gettext-tools/src/x-perl.c @@ -39,7 +39,6 @@ #include "po-charset.h" #include "unistr.h" #include "uniname.h" -#include "getline.h" #include "gettext.h" #define _(s) gettext(s)