This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
another warning
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 29 Apr 2002 13:14:37 +0200 (CEST)
- Subject: another warning
Seen while compiling glibc-20020425 with --enable-all-warnings:
../sysdeps/unix/grantpt.c:119: warning: implicit declaration of function `__chown_internal'
This fixes it.
2002-04-26 Bruno Haible <bruno@clisp.org>
* include/unistd.h (__chown_internal): New declaration.
--- glibc-20020425/include/unistd.h.bak 2002-04-15 20:54:53.000000000 +0200
+++ glibc-20020425/include/unistd.h 2002-04-26 01:53:25.000000000 +0200
@@ -30,6 +30,8 @@
extern unsigned int __sleep (unsigned int __seconds);
extern int __chown (__const char *__file,
__uid_t __owner, __gid_t __group);
+extern int __chown_internal (__const char *__file,
+ __uid_t __owner, __gid_t __group);
extern int __fchown (int __fd,
__uid_t __owner, __gid_t __group);
extern int __lchown (__const char *__file, __uid_t __owner,