summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2002-06-30 15:16:42 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2002-06-30 15:16:42 +0000
commitbe30e7345c052bff696adfc70fd8338c97453bf6 (patch)
tree82dfdf3a27befd9b723ba3d48c9ec27a0b94b170 /usr.bin
parentd841ad50b91860bb55a941ca1dbe5d37f3bbe0e2 (diff)
remove local declaration of user_from_uid()/group_from_uid()
ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/find/function.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index 17d443c8377..4611330df04 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: function.c,v 1.24 2002/05/03 15:21:09 millert Exp $ */
+/* $OpenBSD: function.c,v 1.25 2002/06/30 15:16:41 matthieu Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)function.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: function.c,v 1.24 2002/05/03 15:21:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: function.c,v 1.25 2002/06/30 15:16:41 matthieu Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -1097,8 +1097,6 @@ f_nogroup(plan, entry)
PLAN *plan;
FTSENT *entry;
{
- char *group_from_gid();
-
return (group_from_gid(entry->fts_statp->st_gid, 1) ? 0 : 1);
}
@@ -1121,8 +1119,6 @@ f_nouser(plan, entry)
PLAN *plan;
FTSENT *entry;
{
- char *user_from_uid();
-
return (user_from_uid(entry->fts_statp->st_uid, 1) ? 0 : 1);
}