aboutsummaryrefslogtreecommitdiff
path: root/include/duser.h
diff options
context:
space:
mode:
authorAlan Brault <alan.brault@incruentatus.net>2011-05-02 18:47:10 -0400
committerAlan Brault <alan.brault@incruentatus.net>2011-05-02 18:47:10 -0400
commitc14ecfe452046c00ffe83171ec7f9b64ff374795 (patch)
tree605a01281d2227d85048e0fe6875de5635170a71 /include/duser.h
parent817b384592e730f4f832bfbe92a948970840ee33 (diff)
downloadduser-c14ecfe452046c00ffe83171ec7f9b64ff374795.tar.gz
Make strcasestr() and strchrnul() into separate compat files
Force everyone to use compat functions not just Solaris Remove libsysfs from buildconf Add libtool support (needed for libdusercompat.a)
Diffstat (limited to 'include/duser.h')
-rw-r--r--include/duser.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/duser.h b/include/duser.h
index 5a102bb..d562b33 100644
--- a/include/duser.h
+++ b/include/duser.h
@@ -28,7 +28,7 @@
#include <limits.h>
#define REGEX_MAX 255
#define SELF __FUNCTION__
-#ifndef __NSOLARIS__
+#ifndef HAVE_SOLARIS
# define FMTLIST "%20s\t%5d%23s\n"
#else
# define FMTLIST "%20s\t%5d%16s\n"
@@ -77,9 +77,6 @@ int user_cmd(const int argc, char* argv[]);
int user_choice(char c);
int user_add(const char* filename, const char* needle);
int user_new_list(const char* fname);
-#ifdef __NSOLARIS__
char *strcasestr(const char *s, const char *find);
char *strchrnul(const char* s, int c);
#endif
-
-#endif