2004-10-06  Roland McGrath  <roland@redhat.com>

	* file.c (sprintmode): Add const to return type.
	(sprintfstype): Likewise.
	* signal.c (printsiginfo): Add a const.
diff --git a/file.c b/file.c
index 7d9e7ab..bbbebe8 100644
--- a/file.c
+++ b/file.c
@@ -555,12 +555,12 @@
 	{ 0,		NULL		},
 };
 
-static char *
+static const char *
 sprintmode(mode)
 int mode;
 {
 	static char buf[64];
-	char *s;
+	const char *s;
 
 	if ((mode & S_IFMT) == 0)
 		s = "";
@@ -1437,13 +1437,13 @@
 
 #ifndef SVR4
 
-static char *
+static const char *
 sprintfstype(magic)
 int magic;
 {
 	static char buf[32];
 #ifdef LINUX
-	char *s;
+	const char *s;
 
 	s = xlookup(fsmagic, magic);
 	if (s) {
diff --git a/signal.c b/signal.c
index 657db23..e846f6c 100644
--- a/signal.c
+++ b/signal.c
@@ -643,7 +643,7 @@
 siginfo_t *sip;
 int verbose;
 {
-	char *code;
+	const char *code;
 
 	if (sip->si_signo == 0) {
 		tprintf ("{}");