about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--login/programs/pt_chown.c2
-rw-r--r--login/programs/utmpdump.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 89e9a79330..f4a1df280d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2000-11-27  Andreas Jaeger  <aj@suse.de>
+
+	* login/programs/pt_chown.c (do_pt_chown): Mark function as static
+	to avoid warning.
+	* login/programs/utmpdump.c (print_entry): Likewise.
+
 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
 
 	* sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
diff --git a/login/programs/pt_chown.c b/login/programs/pt_chown.c
index faec86b549..611c1859b3 100644
--- a/login/programs/pt_chown.c
+++ b/login/programs/pt_chown.c
@@ -94,7 +94,7 @@ Report bugs using the `glibcbug' script to <bugs@gnu.org>.\n"));
   return (char *) text;
 }
 
-int
+static int
 do_pt_chown (void)
 {
   char *pty;
diff --git a/login/programs/utmpdump.c b/login/programs/utmpdump.c
index 7be404ce24..606d8c9a08 100644
--- a/login/programs/utmpdump.c
+++ b/login/programs/utmpdump.c
@@ -26,7 +26,7 @@
 #include <unistd.h>
 #include <utmp.h>
 
-void
+static void
 print_entry (struct utmp *up)
 {
 #if _HAVE_UT_TV - 0