summaryrefslogtreecommitdiffstats
path: root/login-utils/setpwnam.h
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:44 +0100
committerKarel Zak2006-12-07 00:25:44 +0100
commit66ee8158b69525e12060ef558cb5d77feadab1dc (patch)
tree08b30f2d07df9213f5647bc6f60b5090a263ef43 /login-utils/setpwnam.h
parentImported from util-linux-2.10m tarball. (diff)
downloadkernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.tar.gz
kernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.tar.xz
kernel-qcow2-util-linux-66ee8158b69525e12060ef558cb5d77feadab1dc.zip
Imported from util-linux-2.10s tarball.
Diffstat (limited to 'login-utils/setpwnam.h')
-rw-r--r--login-utils/setpwnam.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/login-utils/setpwnam.h b/login-utils/setpwnam.h
index b4790f7ab..84d1c208f 100644
--- a/login-utils/setpwnam.h
+++ b/login-utils/setpwnam.h
@@ -14,11 +14,6 @@
#include "pathnames.h"
-#define false 0
-#define true 1
-
-typedef int boolean;
-
#ifndef DEBUG
#define PASSWD_FILE _PATH_PASSWD
#define PTMP_FILE _PATH_PTMP
@@ -36,3 +31,5 @@ typedef int boolean;
#define GTMP_FILE "/tmp/gtmp"
#define GTMPTMP_FILE "/tmp/gtmptmp"
#endif
+
+extern int setpwnam (struct passwd *pwd);