mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* sysdeps/unix/sysv/linux/tcdrain.c: Define tcdrain, not
__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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user