passwd.c in OBJS
memcmp/strdup macro protection
LIBRARY = liblutil.a
SRCS = base64.c detach.c md5.c passwd.c sha1.c
-OBJS = base64.o detach.o md5.o passwd.c sha1.o @LIBOBJS@
+OBJS = base64.o detach.o md5.o passwd.o sha1.o @LIBOBJS@
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
* Memory Compare
*/
int
-memcmp(const void *v1, const void *v2, int n)
+(memcmp)(const void *v1, const void *v2, int n)
{
if (n != 0) {
- register const unsigned char *s1=v1, *s2=v2;
+ const unsigned char *s1=v1, *s2=v2;
do {
if (*s1++ != *s2++)
return (*--s1 - *--s2);
#include <ac/string.h>
#include "lutil.h"
-char *strdup( const char *s )
+char *(strdup)( const char *s )
{
char *p;