Skip to content
Snippets Groups Projects
Commit b06200f6 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Update lutil based on recent -devel changes.

  passwd.c in OBJS
  memcmp/strdup macro protection
parent ac9c8091
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
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
......
......@@ -6,10 +6,10 @@
* 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);
......
......@@ -6,7 +6,7 @@
#include <ac/string.h>
#include "lutil.h"
char *strdup( const char *s )
char *(strdup)( const char *s )
{
char *p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment