This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove warning



Compiling glibc I get:

_itowa.h:45:1: warning: "SPECIAL" redefined
_itoa.h:41:1: warning: this is the location of the previous definition

Ok to commit the appended patch?

Andreas

2002-02-05  Andreas Jaeger  <aj@suse.de>

	* stdio-common/_itoa.h: Undefine SPECIAL to avoid duplicate
	definition.
	* stdio-common/_itowa.h: Likewise.


Index: stdio-common/_itoa.h
===================================================================
RCS file: /cvs/glibc/libc/stdio-common/_itoa.h,v
retrieving revision 1.8
diff -u -p -r1.8 _itoa.h
--- _itoa.h	2002/02/03 06:07:59	1.8
+++ _itoa.h	2002/02/05 13:02:09
@@ -55,6 +55,7 @@ _itoa_word (unsigned long value, char *b
     }
   return buflim;
 }
+#undef SPECIAL
 
 static inline char * __attribute__ ((unused))
 _fitoa_word (unsigned long value, char *buf, unsigned int base, int upper_case)
Index: stdio-common/_itowa.h
===================================================================
RCS file: /cvs/glibc/libc/stdio-common/_itowa.h,v
retrieving revision 1.3
diff -u -p -r1.3 _itowa.h
--- _itowa.h	2001/07/06 04:55:40	1.3
+++ _itowa.h	2002/02/05 13:02:09
@@ -1,5 +1,5 @@
 /* Internal function for converting integers to ASCII.
-   Copyright (C) 1994, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
+   Copyright (C) 1994, 95, 96, 97, 98, 99, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -59,5 +59,6 @@ _itowa_word (unsigned long value, wchar_
     }
   return bp;
 }
+#undef SPECIAL
 
 #endif	/* itowa.h */

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]