From d54fb3b68c3f40b3410183de354cdbe1d648a8bf Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 27 Nov 2000 16:46:26 +0000 Subject: Update. 2000-11-27 Andreas Jaeger * login/programs/pt_chown.c (do_pt_chown): Mark function as static to avoid warning. * login/programs/utmpdump.c (print_entry): Likewise. --- ChangeLog | 6 ++++++ login/programs/pt_chown.c | 2 +- login/programs/utmpdump.c | 2 +- 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 + + * 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 * 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 .\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 #include -void +static void print_entry (struct utmp *up) { #if _HAVE_UT_TV - 0 -- cgit v1.1