]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Remove unused code.
authorBruno Haible <bruno@clisp.org>
Mon, 1 Sep 2003 19:38:42 +0000 (19:38 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:56 +0000 (12:10 +0200)
gettext-tools/src/ChangeLog
gettext-tools/src/format-gcc-internal.c
gettext-tools/src/format-perl-brace.c

index 9d9c0bfab8796cbce04086d66828470e8b64e22b..a1f86ad1adc2db07c972400ba07d911d38b597fd 100644 (file)
@@ -1,3 +1,8 @@
+2003-08-31  Bruno Haible  <bruno@clisp.org>
+
+       * format-gcc-internal.c (isdigit): Remove unused macro.
+       * format-perl-brace.c (isdigit): Likewise.
+
 2003-09-01  Guido Flohr  <guido@imperia.net>
 
        * x-perl.c (extract_balanced): Access the global last_token.
index 8d17c20a207335091fb6c7842e977d5bb3f00908..10218d03cd1fbb9833ea374d90fbd66b5cae4b5e 100644 (file)
@@ -110,12 +110,6 @@ struct spec
   struct unnumbered_arg *unnumbered;
 };
 
-/* Locale independent test for a decimal digit.
-   Argument can be  'char' or 'unsigned char'.  (Whereas the argument of
-   <ctype.h> isdigit must be an 'unsigned char'.)  */
-#undef isdigit
-#define isdigit(c) ((unsigned int) ((c) - '0') < 10)
-
 
 static void *
 format_parse (const char *format, char **invalid_reason)
index 27c542c4222e51773e607a3790561758fab7e724..97aba83ffb0104f1df922f7348f17fcfdc39ed94 100644 (file)
@@ -53,12 +53,6 @@ struct spec
   struct named_arg *named;
 };
 
-/* Locale independent test for a decimal digit.
-   Argument can be  'char' or 'unsigned char'.  (Whereas the argument of
-   <ctype.h> isdigit must be an 'unsigned char'.)  */
-#undef isdigit
-#define isdigit(c) ((unsigned int) ((c) - '0') < 10)
-
 
 static int
 named_arg_compare (const void *p1, const void *p2)