another warning

Bruno Haible bruno@clisp.org
Mon Apr 29 04:17:00 GMT 2002


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,



More information about the Libc-alpha mailing list