]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid gcc warnings.
authorBruno Haible <bruno@clisp.org>
Mon, 22 Sep 2003 09:55:22 +0000 (09:55 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:01 +0000 (12:11 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/plural-count.c
gettext-tools/src/x-java.l
gettext-tools/src/x-po.c

index a7fc053f53905bd4e51d01876887d5d75c2a2043..ddcd69162d6633e9d7a98ba3d4445d045b8b354e 100644 (file)
@@ -1,3 +1,9 @@
+2003-09-14  Bruno Haible  <bruno@clisp.org>
+
+       * plural-count.c: Include plural-count.h.
+       * x-po.c: Include x-properties.h.
+       * x-java.l (append_strings): Change argument type to 'const char *'.
+
 2003-09-14  Bruno Haible  <bruno@clisp.org>
 
        * msgfmt.c (check_plural_eval): Mark some strings as c-format.
index 9b65a36458abb25bdca995d4fe54608c656bdae9..0eb5f6a83df425e4009191b844bf230afe3acd57 100644 (file)
 # include <config.h>
 #endif
 
-#include "plural-exp.h"
+/* Specification.  */
+#include "plural-count.h"
 
+#include "plural-exp.h"
 
 /* Extract the number of plural forms from a header entry.  */
 
index dee61a2f4e9055151b7cae4b397d7c02d1374e96..7d13280f984be88fd1ee192b6c3e751579ff9c53 100644 (file)
@@ -221,7 +221,7 @@ ID [a-zA-Z_][a-zA-Z0-9_]*
 %%
 
 static char *
-append_strings (char *a, char *b)
+append_strings (char *a, const char *b)
 {
   int total_size = strlen (a) + strlen (b) + 1;
   char *new_string = (char *) xmalloc (total_size);
index 6cc89c78bd42a76fa485377b525bb8722783141d..b51f6d5649844832d2a05c0bc2473541a32ff45f 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "message.h"
 #include "x-po.h"
+#include "x-properties.h"
 #include "xgettext.h"
 #include "xmalloc.h"
 #include "read-po.h"