Fix warnings on FreeBSD
This commit is contained in:
committed by
Jon Trulson
parent
885b65a09a
commit
297b6bd845
@@ -60,12 +60,14 @@ using namespace std;
|
||||
#include "dbug.h" /* ala Fred Fish's dbug package from uunet */
|
||||
#endif
|
||||
|
||||
#ifdef LICENSE_MANAGEMENT
|
||||
const int A_FEATURE = OLAF::Feature;
|
||||
const int A_VEN_CODE = OLAF::VenCode;
|
||||
const int A_VERSION = OLAF::Version;
|
||||
const int A_GROUPING = OLAF::Grouping;
|
||||
const int A_DEMO_TERMS = OLAF::DemoTerms;
|
||||
const int A_DEFAULT_SECTION = OLAF::DefaultSection;
|
||||
#endif
|
||||
|
||||
/***********************************
|
||||
*
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
/* $TOG: OL_DataExpr.C /main/4 1997/12/23 11:38:27 bill $ */
|
||||
#ifndef lint
|
||||
__attribute__((unused))
|
||||
static const char ol_datasccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/90";
|
||||
#endif
|
||||
#define ol_dataBYACC 1
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
# include <libgen.h> /* for dirname() */
|
||||
#include <libgen.h> /* for dirname() */
|
||||
#include <ctype.h>
|
||||
#include <signal.h>
|
||||
#if !defined(CSRG_BASED)
|
||||
@@ -235,7 +235,7 @@ static char *buildSpec(void);
|
||||
static void defaultGlobals(void);
|
||||
static void checkGlobals(void);
|
||||
static int parseArgs(int argc, char *argv[]);
|
||||
static char *parseDocument(Boolean runCmd, ...);
|
||||
static char *parseDocument(int runCmd, ...);
|
||||
static void buildBookcase(char *cmdSrc, char *dirName);
|
||||
static char *storeBookCase(char *cmdSrc, char *tocOpt, char *dbName,
|
||||
char *dirName);
|
||||
@@ -1355,7 +1355,7 @@ parseArgs(int argc, char *argv[])
|
||||
}
|
||||
|
||||
static char *
|
||||
parseDocument(Boolean runCmd, ...)
|
||||
parseDocument(int runCmd, ...)
|
||||
{
|
||||
va_list ap;
|
||||
char *ptr;
|
||||
|
||||
Reference in New Issue
Block a user