Commit Diff


commit - c51cc88eb08eb3aa3fd626347bd9c87f2ae7f9c1
commit + 3a826b774a10a069d2f18b1a07842acf8da8fc49
blob - fa69ffb12e654a1cbd008e37119fa06c914d7e5f
blob + 9e2907494b4c9402a79d7b2b1792f5bc3003a590
--- src/tool/tool.c
+++ src/tool/tool.c
@@ -186,7 +186,7 @@ CODE facilitynames[] = {
 #endif
 
 
-GLOBAL char
+GLOBAL const char
 *ngt_SyslogFacilityName(int Facility)
 {
 	int i = 0;
blob - ea9e96b92b1d0fa874270239ca92dea2a1e49bdc
blob + 4513a2323fa39c04e56ce419f29fc24e846aa7ae
--- src/tool/tool.h
+++ src/tool/tool.h
@@ -30,7 +30,7 @@ GLOBAL char *ngt_UpperStr PARAMS((char *String ));
 GLOBAL char *ngt_LowerStr PARAMS((char *String ));
 
 #ifdef SYSLOG
-GLOBAL char *ngt_SyslogFacilityName PARAMS((int Facility));
+GLOBAL const char *ngt_SyslogFacilityName PARAMS((int Facility));
 GLOBAL int ngt_SyslogFacilityID PARAMS((char *Name, int DefaultFacility));
 #endif