Commit Graph

11 Commits

Author SHA1 Message Date
Hallvard Furuseth
7e6ad5100c Protoized, moved extern definitions to .h files, fixed related bugs.
Most function and variable definitions are now preceded by its extern
definition, for error checking.  Retyped a number of functions, usually
to return void.  Fixed a number of printf format errors.

API changes (in ldap/include):
  Added avl_dup_ok, avl_prefixapply, removed ber_fatten (probably typo
  for ber_flatten), retyped ldap_sort_strcasecmp, grew lutil.h.

A number of `extern' declarations are left (some added by protoize), to
be cleaned away later.  Mostly strdup(), strcasecmp(), mktemp(), optind,
optarg, errno.
1998-11-15 22:40:11 +00:00
Hallvard Furuseth
523fd2c891 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.
1998-11-11 23:37:38 +00:00
Hallvard Furuseth
177367bdb1 Some gcc -W... cleanup 1998-11-05 07:31:40 +00:00
Kurt Zeilenga
2a869f5a99 merged with autoconf branch 1998-10-25 01:41:42 +00:00
Kurt Zeilenga
e9233c923d Fixed null termination bug in re.c. Found by vasquez@w270.de 1998-09-02 16:12:07 +00:00
Kurt Zeilenga
8a3eefd111 Changed calloc to ch_malloc. Don't need clear, should use ch_ functions. 1998-08-18 20:28:54 +00:00
Kurt Zeilenga
3eb609ab21 Add patch from Gordon Good to fix copying of DNs with null bytes. 1998-08-18 19:05:33 +00:00
Kurt Zeilenga
fa2da63ca4 Merge from LAMBERT branch 1998-08-17 23:26:25 +00:00
Kurt Zeilenga
8893be2975 LDAPworld P7: SLURPD compile problems with SYSERRLIST_IN_STDIO 1998-08-09 02:48:03 +00:00
Kurt Zeilenga
f6c2f2e6ab Merge FreeBSD Make-templates into LDAPworld branch 1998-08-09 02:24:07 +00:00
Kurt Zeilenga
42e0d83cb3 Initial revision 1998-08-09 00:43:13 +00:00