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:
Kurt Zeilenga 2002-08-13 02:33:20 +00:00
parent c5b6a86502
commit a500feb4a6
2 changed files with 3 additions and 0 deletions

View File

@ -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') ||\

View File

@ -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 *