s/<stdlib.h>/<ac/stdlib.h>/

This commit is contained in:
Kurt Zeilenga 1999-06-03 00:37:44 +00:00
parent 5a8170253a
commit 21c70857f1
123 changed files with 223 additions and 148 deletions

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -8,7 +8,7 @@
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include "rcpt500.h"
struct command cmds[] = {

View File

@ -9,7 +9,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -9,7 +9,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -3,8 +3,9 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>
#include <ac/string.h>

View File

@ -7,7 +7,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -15,7 +15,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -16,7 +16,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -1,7 +1,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/signal.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/krb.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/signal.h>
#include <ac/string.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -23,7 +23,9 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <setjmp.h>
#ifdef HAVE_PWD_H

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -20,7 +20,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#ifdef HAVE_READLINE
# include <readline/readline.h>

View File

@ -15,10 +15,9 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <ac/stdlib.h>
#include <ac/time.h>
#include <ac/string.h>
#include <ac/ctype.h>

View File

@ -7,15 +7,15 @@
#include "portable.h"
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <time.h>
#include <ac/unistd.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/time.h>
#include <ac/unistd.h>
#include <lber.h>
#include <ldap.h>

View File

@ -19,7 +19,7 @@ static char avl_version[] = "AVL library version 1.0\n";
#endif
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#define AVL_INTERNAL
#include "avl.h"

View File

@ -3,8 +3,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#define AVL_INTERNAL

View File

@ -18,10 +18,10 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/stdarg.h>
#include <ac/string.h>
#include <ac/socket.h>

View File

@ -18,8 +18,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/socket.h>
#include <ac/unistd.h>

View File

@ -18,7 +18,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/stdarg.h>
#include <ac/socket.h>

View File

@ -11,7 +11,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -18,7 +18,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#ifdef HAVE_PSAP_H
#include <psap.h>

View File

@ -18,7 +18,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -4,7 +4,7 @@
*/
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include "lber-int.h"

View File

@ -4,7 +4,7 @@
*/
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include "lber-int.h"

View File

@ -7,7 +7,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include "lber.h"
#include "ldap.h"

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -14,7 +14,8 @@
#ifdef STR_TRANSLATION
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>
@ -147,7 +148,7 @@ ldap_translate_to_t61( LDAP *ld, char **bufp, unsigned long *lenp,
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
/* Character set used: ISO 8859-1, ISO 8859-2, ISO 8859-3, ... */

View File

@ -14,7 +14,8 @@
#ifdef LDAP_CONNECTIONLESS
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <ac/socket.h>

View File

@ -8,7 +8,7 @@
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/time.h>
#include <ac/string.h>

View File

@ -20,7 +20,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -22,7 +22,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -6,7 +6,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -6,7 +6,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -13,7 +13,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -12,7 +12,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -12,7 +12,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -14,7 +14,7 @@
#ifdef LDAP_API_FEATURE_X_OPENLDAP_V2_DNS
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -12,7 +12,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -5,7 +5,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -14,7 +14,7 @@
#ifdef HAVE_KERBEROS
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/krb.h>
#include <ac/socket.h>

View File

@ -9,7 +9,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -6,7 +6,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <ac/socket.h>

View File

@ -9,7 +9,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <ac/socket.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <ac/socket.h>

View File

@ -9,7 +9,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -12,7 +12,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -19,7 +19,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -20,7 +20,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -5,7 +5,7 @@
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/time.h>

View File

@ -6,7 +6,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -10,7 +10,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -5,7 +5,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/time.h>

View File

@ -12,11 +12,12 @@
#include "portable.h"
#include <stdio.h>
#include <ac/string.h>
#include <ctype.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>
#include <ac/string.h>
#include <ac/time.h>
#include "ldap-int.h"

View File

@ -12,7 +12,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -24,7 +24,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View File

@ -22,7 +22,7 @@
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <ac/socket.h>

View File

@ -17,7 +17,7 @@
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <ac/string.h>

View File

@ -30,7 +30,7 @@
#if !defined( HAVE_LWP )
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/unistd.h> /* get sleep() */
#include "ldap_pvt_thread.h"

View File

@ -12,7 +12,8 @@
#ifdef SLAPD_LDBM
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/errno.h>
@ -552,8 +553,8 @@ ldbm_errno( LDBM ldbm )
/* MMAPED DBM HASHING DATABASE */
#include <alloca.h>
#include <string.h>
#include <ac/alloca.h>
#include <ac/string.h>
/* #define MDBM_DEBUG */

View File

@ -3,8 +3,9 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>
#include <ac/socket.h>

View File

@ -46,10 +46,8 @@
#include "portable.h"
#include <stdlib.h>
#include <stddef.h>
#include <ctype.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>
/* include socket.h to get sys/types.h and/or winsock2.h */

View File

@ -15,7 +15,8 @@
#ifndef HAVE_GETPASS
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -10,7 +10,7 @@
#include "portable.h"
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/unistd.h>

View File

@ -3,7 +3,8 @@
#ifndef HAVE_SETPROCTITLE
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/setproctitle.h>
#include <ac/string.h>

View File

@ -200,7 +200,7 @@ static char rcsid[] = "$OpenBSD: sha1hl.c,v 1.1 1997/07/12 20:06:03 millert Exp
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/errno.h>
#include <ac/unistd.h>

View File

@ -3,7 +3,8 @@
#ifndef HAVE_TEMPNAM
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/unistd.h>

View File

@ -13,8 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/socket.h> /* Get struct sockaddr for slap.h */
#include <ac/string.h>
#include <ac/socket.h>
#include "slap.h"
#include "back-bdb2.h"
#include "proto-back-bdb2.h"

View File

@ -7,8 +7,8 @@
#include <stdio.h>
#include <sys/stat.h>
#include <dirent.h>
#include <ac/dirent.h>
#include <ac/errno.h>
#include <ac/signal.h>
#include <ac/socket.h>

View File

@ -13,8 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/socket.h> /* Get struct sockaddr for slap.h */
#include <ac/string.h>
#include <ac/socket.h>
#include "slap.h"
#include "back-ldbm.h"
#include "proto-back-ldbm.h"

View File

@ -3,8 +3,8 @@
#include "portable.h"
#include <stdio.h>
#include <signal.h>
#include <ac/signal.h>
#include <ac/socket.h>
#include <ac/string.h>

View File

@ -3,7 +3,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/socket.h>

View File

@ -249,7 +249,7 @@ void schema_info LDAP_P((Connection *conn, Operation *op, char **attrs, int attr
void parse_oc_old LDAP_P(( Backend *be, char *fname, int lineno, int argc, char **argv ));
void parse_oc LDAP_P(( char *fname, int lineno, char * line ));
void parse_at LDAP_P(( char *fname, int lineno, char *line ));
char *scherr2str LDAP_P((int code));
/*
* str2filter.c
*/

View File

@ -16,7 +16,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/unistd.h>

View File

@ -18,7 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/stdarg.h>
#include <pwd.h>

View File

@ -3,12 +3,12 @@
#ifndef _SLDAPD_H_
#define _SLDAPD_H_
#include <stdlib.h>
#include <ac/stdlib.h>
#include <sys/types.h>
#include <ac/syslog.h>
#include <ac/regex.h>
#include <ac/socket.h> /* needed by LDAP_CONNECTIONLESS */
#include <ac/socket.h>
#include <ldap_schema.h>
#include "avl.h"

View File

@ -19,8 +19,8 @@
#include "portable.h"
#include <stdio.h>
#include <string.h>
#include <ac/socket.h> /* Get struct sockaddr for slap.h */
#include <ac/string.h>
#include <ac/socket.h>
#include "slap.h"
/*

View File

@ -3,7 +3,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>

View File

@ -19,7 +19,7 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/string.h>
@ -413,7 +413,7 @@ print_as(Attr_Sequence as, int modtype, FILE *ofp)
}
if ( obuf != NULL ) {
fputs( obuf, ofp );
free( obuf );
ber_memfree( obuf );
}
}
if ( modtype != 0 ) {

View File

@ -13,7 +13,8 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/errno.h>

View File

@ -123,7 +123,7 @@ av2ldif( FILE *outfp, AV_Sequence av, DN dn, short syntax, char *attrname,
if ( fputs( buf, outfp ) == EOF ) {
rc = -1;
}
free( buf );
ber_memfree( buf );
}
}

View File

@ -1,9 +1,9 @@
#include "portable.h"
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <ac/stdlib.h>
#include <ac/socket.h>
#include <ac/string.h>
#include <ac/ctype.h>

Some files were not shown because too many files have changed in this diff Show More