summaryrefslogtreecommitdiffstats
path: root/bin/mv
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-14 01:59:47 +0000
committerimp <imp@FreeBSD.org>2002-02-14 01:59:47 +0000
commitf58558abb789d5e2b6a7deb4566483c01b0f4d58 (patch)
treeeeb67e79cff6a9d2211b5a4a193d0f32f920619a /bin/mv
parent8c67ca76f79f837ceff85f7b9beb68cb784aaadd (diff)
downloadFreeBSD-src-f58558abb789d5e2b6a7deb4566483c01b0f4d58.zip
FreeBSD-src-f58558abb789d5e2b6a7deb4566483c01b0f4d58.tar.gz
Move user_from_uid to pwd.h
Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files. NetBSD has these defined in those files, and others too that I've not done. Approved by: terminal room kabal Reviewed by: jhb, phk
Diffstat (limited to 'bin/mv')
-rw-r--r--bin/mv/mv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c
index 8a2fb2b..25f56a3 100644
--- a/bin/mv/mv.c
+++ b/bin/mv/mv.c
@@ -57,7 +57,9 @@ static const char rcsid[] =
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <grp.h>
#include <limits.h>
+#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud