This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

2 warnings less...



I've committed the appended patch,

Andreas

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.

============================================================
Index: login/programs/pt_chown.c
--- login/programs/pt_chown.c	1999/08/25 17:55:43	1.9
+++ login/programs/pt_chown.c	2000/11/27 16:17:36
@@ -94,7 +94,7 @@
   return (char *) text;
 }
 
-int
+static int
 do_pt_chown (void)
 {
   char *pty;
============================================================
Index: login/programs/utmpdump.c
--- login/programs/utmpdump.c	1997/08/10 17:10:00	1.2
+++ login/programs/utmpdump.c	2000/11/27 16:17:36
@@ -26,7 +26,7 @@
 #include <unistd.h>
 #include <utmp.h>
 
-void
+static void
 print_entry (struct utmp *up)
 {
 #if _HAVE_UT_TV - 0

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]