mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Patch: lutil_progname() and lutil_strcopy() are not declared (ITS#2021)
================ Written by Hallvard B. Furuseth and placed into the public domain. This software is not subject to any license of the University of Oslo. ================ lutil_progname() and lutil_strcopy() are not declared, which can be fatal since they do not return int. Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
This commit is contained in:
parent
c5b6a86502
commit
a500feb4a6
@ -35,6 +35,8 @@
|
|||||||
#include <ac/string.h>
|
#include <ac/string.h>
|
||||||
#include <ac/unistd.h>
|
#include <ac/unistd.h>
|
||||||
|
|
||||||
|
#include <lutil.h>
|
||||||
|
|
||||||
#undef ishdigit
|
#undef ishdigit
|
||||||
#define ishdigit(cc) (((cc) >= '0' && (cc) <= '9') ||\
|
#define ishdigit(cc) (((cc) >= '0' && (cc) <= '9') ||\
|
||||||
((cc) >= 'A' && (cc) <= 'F') ||\
|
((cc) >= 'A' && (cc) <= 'F') ||\
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <lutil.h>
|
||||||
#include "slap.h"
|
#include "slap.h"
|
||||||
|
|
||||||
FILE *
|
FILE *
|
||||||
|
Loading…
Reference in New Issue
Block a user