]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/dsparse.c
Add libtool support based upon patch by Bart Hartgers <Hartgers@kfm1.phys.tue.nl>
[openldap] / libraries / libldap / dsparse.c
index 3fdd7b9c44a3cbfc8265449890ea40ebdb19d0cd..836e2c9007dcffa675e36a22c0d5bdb461aca9e7 100644 (file)
@@ -30,8 +30,6 @@
 
 #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 ));
 
@@ -190,7 +188,7 @@ next_token( char **sp )
        return( NULL );
     }
 
-    return( strdup( tokstart ));
+    return( ldap_strdup( tokstart ));
 }