From 764bde1554a33cbb22620f5dd598c502fb6e448c Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Sat, 18 Sep 2004 22:17:36 +0200
Subject: [PATCH] rcsid can be constant..

Rev: src/global.h:1.101
---
 src/global.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/global.h b/src/global.h
index a438a7106e..55f39d50e6 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)
-- 
GitLab