aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-11-27 16:46:26 +0000
committerAndreas Jaeger <aj@suse.de>2000-11-27 16:46:26 +0000
commitd54fb3b68c3f40b3410183de354cdbe1d648a8bf (patch)
tree8085503610ebe83530f969ab4b64fec9549e901b
parentf8028a97081f2cd4e24862507c04b05cf4687dc9 (diff)
downloadglibc-d54fb3b68c3f40b3410183de354cdbe1d648a8bf.zip
glibc-d54fb3b68c3f40b3410183de354cdbe1d648a8bf.tar.gz
glibc-d54fb3b68c3f40b3410183de354cdbe1d648a8bf.tar.bz2
Update.
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.
-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 89e9a79..f4a1df2 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 faec86b..611c185 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 7be404c..606d8c9 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