summaryrefslogtreecommitdiff
path: root/build/names.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-07-25 21:00:26 +0000
committerjbj <devnull@localhost>1998-07-25 21:00:26 +0000
commite4151252f8c4e422e18f83616392e3dc53d6d1ab (patch)
tree2cf6ab880ad881f509ba84c4657dd978592c1698 /build/names.c
parentc617a31606aec7fccaf26e0947f15f4cbacf089b (diff)
downloadlibrpm-tizen-e4151252f8c4e422e18f83616392e3dc53d6d1ab.tar.gz
librpm-tizen-e4151252f8c4e422e18f83616392e3dc53d6d1ab.tar.bz2
librpm-tizen-e4151252f8c4e422e18f83616392e3dc53d6d1ab.zip
Aggregate system includes into system.h.
Rearrange functions to minimize exported routines in librpmbuild API. VS: ---------------------------------------------------------------------- CVS patchset: 2183 CVS date: 1998/07/25 21:00:26
Diffstat (limited to 'build/names.c')
-rw-r--r--build/names.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/build/names.c b/build/names.c
index c619c692c..6850ec100 100644
--- a/build/names.c
+++ b/build/names.c
@@ -1,14 +1,11 @@
/* names.c -- user/group name/id cache (plus hostname and buildtime) */
-#include <stdio.h>
-#include <sys/types.h>
+#include "system.h"
+
#include <pwd.h>
#include <grp.h>
-#include <string.h>
#include <time.h>
-#include <unistd.h>
#include <netdb.h>
-#include <errno.h>
#include "names.h"
#include "rpmlib.h"