diff options
author | Alan Brault <alan.brault@incruentatus.net> | 2011-05-02 18:58:40 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2012-05-25 14:21:08 -0400 |
commit | 0b20b98e9b2e87eb2e9e10f658d2d523b0ee9fb6 (patch) | |
tree | 942d28cad437dd20bf29cb60ad58ad4949b87c96 /include/compat | |
parent | db970762d90a3adda07874ac597928f5305b0a49 (diff) | |
download | duser-0b20b98e9b2e87eb2e9e10f658d2d523b0ee9fb6.tar.gz |
Remove strcasestr() and strchrnul() checks from configure, using libdusercompat.a instead
Fix Makefile.am bad entry
Clean up compat, bring in strcasestr from OpenBSD and strchrnul from uclibc
and separate the headers.
Remove config.h from strchrnul.c; not needed
Fix numerous shadow declaration bugs that could cause problems for Solaris libc
Fix bad prototype using in unlink()
Diffstat (limited to 'include/compat')
-rw-r--r-- | include/compat/strcasestr.h | 4 | ||||
-rw-r--r-- | include/compat/strchrnul.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/compat/strcasestr.h b/include/compat/strcasestr.h new file mode 100644 index 0000000..67917d0 --- /dev/null +++ b/include/compat/strcasestr.h @@ -0,0 +1,4 @@ +#ifndef STRCASESTR_H +#define STRCASESTR_H +char *strcasestr(const char *s, const char *find); +#endif diff --git a/include/compat/strchrnul.h b/include/compat/strchrnul.h new file mode 100644 index 0000000..ca12806 --- /dev/null +++ b/include/compat/strchrnul.h @@ -0,0 +1,4 @@ +#ifndef STRCHRNUL_H +#define STRCHRNUL_H +char *strchrnul(const char* s, int c); +#endif |