about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-20 10:00:23 +0000
committerRoland McGrath <roland@gnu.org>1996-01-20 10:00:23 +0000
commiteb63bdd072eafe6aba40d254a71fd87285f497da (patch)
tree6e65cc839e06b6cbed8609bd829efbd802367c35 /sysdeps
parent522548fb473c5855e399596e838932963e03695f (diff)
downloadglibc-eb63bdd072eafe6aba40d254a71fd87285f497da.tar.gz
glibc-eb63bdd072eafe6aba40d254a71fd87285f497da.tar.xz
glibc-eb63bdd072eafe6aba40d254a71fd87285f497da.zip
* sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not cvs/libc-960120
	__tcdrain.

	* posix/glob.c (glob): Use prototype in getlogin decl.

	* db/ndbm.h: Declare dbm_error, dbm_clearerr.
	* db/db/db.c (__dberr): Define with prototype.
	(__dbpanic): Use prototypes in casts.
	* db/hash/hash_log2.c: Add prototype decl.

	* sysdeps/generic/_strerror.c (_strerror_internal): Define with
	prototype.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/_strerror.c9
-rw-r--r--sysdeps/unix/sysv/linux/tcdrain.c6
2 files changed, 6 insertions, 9 deletions
diff --git a/sysdeps/generic/_strerror.c b/sysdeps/generic/_strerror.c
index 569f7018e5..8067f3fd06 100644
--- a/sysdeps/generic/_strerror.c
+++ b/sysdeps/generic/_strerror.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1993, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1995, 1996 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -27,10 +27,9 @@ Cambridge, MA 02139, USA.  */
 
 /* Return a string describing the errno code in ERRNUM.  */
 char *
-_strerror_internal (errnum, buf, buflen)
-     int errnum;
-     char *buf;
-     size_t buflen;
+_strerror_internal (int errnum,
+		    char *buf,
+		    size_t buflen)
 {
   if (errnum < 0 || errnum >= _sys_nerr)
     {
diff --git a/sysdeps/unix/sysv/linux/tcdrain.c b/sysdeps/unix/sysv/linux/tcdrain.c
index 67c7573cf9..20cc809c6f 100644
--- a/sysdeps/unix/sysv/linux/tcdrain.c
+++ b/sysdeps/unix/sysv/linux/tcdrain.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,9 @@ Cambridge, MA 02139, USA.  */
 
 /* Wait for pending output to be written on FD.  */
 int
-__tcdrain (fd)
+tcdrain (fd)
       int fd;
 {
   /* With an argument of 1, TCSBRK for output to be drain.  */
   return __ioctl (fd, TCSBRK, 1);
 }
-
-weak_alias (__tcdrain, tcdrain)