]> Zhao Yanbai Git Server - minix.git/commitdiff
find: fix warnings + error
authorBen Gras <ben@minix3.org>
Wed, 9 Jun 2010 12:53:51 +0000 (12:53 +0000)
committerBen Gras <ben@minix3.org>
Wed, 9 Jun 2010 12:53:51 +0000 (12:53 +0000)
commands/find/function.c
commands/find/ls.c
commands/find/operator.c

index b7b0fba4c5089dfb62bfe77c6e20ebc5dca496e2..de08ef711451602faf80f735e8436140f6c95cd2 100644 (file)
 #include <inttypes.h>
 #include <limits.h>
 #include <pwd.h>
+#include <grp.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <tzfile.h>
 #include <unistd.h>
 #include <util.h>
+#include <pwd.h>
 
 #include "find.h"
 
index 9cedd593e4e54a914061069f34dc9e28212435be..3077c5745aec166ffc4226487e3f761b00b42ecb 100644 (file)
@@ -47,6 +47,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <fcntl.h>
+#include <pwd.h>
 #include <sys/statfs.h>
 
 #include "find.h"
index 19e8cb97e92563713488fb5cdf034e4d74b2910a..5ed5c6414d31c0fb6fef1b69b1b0df48c997cb4d 100644 (file)
  */
 
 #include <sys/cdefs.h>
-#ifndef lint
-#if 0
-static char sccsid[] = "from: @(#)operator.c   8.1 (Berkeley) 6/6/93";
-#else
-__RCSID("$NetBSD: operator.c,v 1.9 2006/10/11 19:51:10 apb Exp $");
-#endif
-#endif /* not lint */
-
 #include <sys/types.h>
 
 #include <err.h>