diff options
author | Alan Brault <alan.brault@incruentatus.net> | 2011-05-02 18:47:10 -0400 |
---|---|---|
committer | Alan Brault <alan.brault@incruentatus.net> | 2011-05-02 18:47:10 -0400 |
commit | c14ecfe452046c00ffe83171ec7f9b64ff374795 (patch) | |
tree | 605a01281d2227d85048e0fe6875de5635170a71 /include/duser.h | |
parent | 817b384592e730f4f832bfbe92a948970840ee33 (diff) | |
download | duser-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.h | 5 |
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 |