summaryrefslogtreecommitdiff
path: root/src/util.cc
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-16 08:57:58 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-16 08:57:58 +0100
commita25ce2e8e0c3132503cef23c56e4408f034b6558 (patch)
tree6220857dee3d0de97746a72bb6d1af4f5fb2deef /src/util.cc
parentbba9acc1c0759bff2b0171158aa7d2616effcea2 (diff)
Remove "extern" declarations for getpw{uid,nam}
If they're available on the platform they should be included via proper includes, not via "extern" decls.
Diffstat (limited to 'src/util.cc')
-rw-r--r--src/util.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util.cc b/src/util.cc
index 57bc03de..9d65ee38 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -84,13 +84,6 @@ int *no_fds = NULL;
/*
-* Hack -- External functions
-*/
-extern struct passwd *getpwuid();
-extern struct passwd *getpwnam();
-
-
-/*
* Find a default user name from the system.
*/
void user_name(char *buf, int id)