]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/dsparse.c
Add strdup.c from -llutil, renamed to ldap_strdup() and always used.
[openldap] / libraries / libldap / dsparse.c
index 6fc1e6e2961f13552be0cb3a680566787603a584..836e2c9007dcffa675e36a22c0d5bdb461aca9e7 100644 (file)
@@ -19,8 +19,8 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <ctype.h>
 
+#include <ac/ctype.h>
 #include <ac/string.h>
 #include <ac/time.h>
 
 #include <sys/file.h>
 #endif
 
-#include "lber.h"
-#include "ldap.h"
+#include "ldap-int.h"
 
-int next_line_tokens LDAP_P(( char **bufp, long *blenp, char ***toksp ));
-void free_strarray LDAP_P(( char **sap ));
 static int next_line LDAP_P(( char **bufp, long *blenp, char **linep ));
 static char *next_token LDAP_P(( char ** sp ));
 
@@ -191,7 +188,7 @@ next_token( char **sp )
        return( NULL );
     }
 
-    return( strdup( tokstart ));
+    return( ldap_strdup( tokstart ));
 }