]> git.sur5r.net Git - openldap/commit
Fix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 11 Nov 1998 23:37:38 +0000 (23:37 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 11 Nov 1998 23:37:38 +0000 (23:37 +0000)
commit523fd2c891cfdbd318642b20a105adb4b2f9149c
tree6b731a37ac2cd832529820a92f70f319f1661c5d
parent5a14af5f84914e733461ff316f5ab7684252136c
Fix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
 #include <stdlib.h>    to get malloc & co various places,
 #include <ac/string.h> to get strlen & co in (liblutil/setproctitle.c),
 declare ch_malloc & co (slurp.h), avl_find_lin (avl.h), Malloc (ud/edit.c).
Also changed ch_malloc & co from char* to void* functions.
24 files changed:
clients/fax500/main.c
clients/mail500/main.c
clients/ud/edit.c
include/avl.h
libraries/libldif/line64.c
libraries/liblutil/setproctitle.c
servers/slapd/attr.c
servers/slapd/back-ldbm/search.c
servers/slapd/ch_malloc.c
servers/slapd/filter.c
servers/slapd/proto-slap.h
servers/slapd/repl.c
servers/slapd/tools/centipede.c
servers/slapd/tools/chlog2replog.c
servers/slapd/tools/ldif.c
servers/slurpd/ch_malloc.c
servers/slurpd/globals.c
servers/slurpd/ldap_op.c
servers/slurpd/re.c
servers/slurpd/replog.c
servers/slurpd/ri.c
servers/slurpd/rq.c
servers/slurpd/slurp.h
servers/slurpd/st.c