diff --git a/src/global.h b/src/global.h index a438a7106e538a1505c0322edc62eb0e2cdd3354..55f39d50e658106b3695c000178687250914598f 100644 --- a/src/global.h +++ b/src/global.h @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: global.h,v 1.100 2004/06/02 00:09:48 nilsson Exp $ +|| $Id: global.h,v 1.101 2004/09/18 20:17:36 per Exp $ */ #ifndef GLOBAL_H @@ -362,14 +362,14 @@ typedef struct p_wchar_p #ifndef CONFIGURE_TEST #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) #define RCSID(X) \ - static char *rcsid __attribute__ ((unused)) =X + static const char rcsid[] __attribute__ ((unused)) =X #elif __GNUC__ == 2 #define RCSID(X) \ - static char *rcsid = X; \ - static void *use_rcsid=(&use_rcsid, (void *)&rcsid) + static const char rcsid[] = X; \ + static const void *use_rcsid=(&use_rcsid, (void *)&rcsid) #else #define RCSID(X) \ - static char *rcsid = X + static const char rcsid[] = X #endif #else #define RCSID(X)