From c14ecfe452046c00ffe83171ec7f9b64ff374795 Mon Sep 17 00:00:00 2001 From: Alan Brault Date: Mon, 2 May 2011 18:47:10 -0400 Subject: 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) --- include/duser.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include/duser.h') 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 #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 -- cgit