dtinfo subdirectory dtinfogen

This commit is contained in:
Ulrich Wilkens
2013-08-28 20:07:21 +02:00
committed by Jon Trulson
parent aef2830df2
commit eb698f32cf
43 changed files with 1074 additions and 895 deletions

View File

@@ -196,7 +196,7 @@ Libs_C_API = $(MMDB_LIBS_C_API) $(DTSVCLIB) $(TTLIB) $(XLIB) $(MATH_LIB)
SimpleCPlusPlusProgram(dbdrv,main.o,$(Libs))
SimpleCPlusPlusProgram(restore,restore.o,$(Libs))
#if defined(USLArchitecture) || defined(LinuxArchitecture) || defined(FreeBSDArchitecture)
#if defined(USLArchitecture) || defined(LinuxArchitecture) || defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
SimpleCPlusPlusProgram(dbdrv_c_api,main_c_api.o,$(Libs_C_API))
#else
SimpleCProgram(dbdrv_c_api,main_c_api.o,$(Libs_C_API))

View File

@@ -142,7 +142,7 @@ int select_and_process( int argc, char** argv )
return (ok);
}
main( int argc, char** argv )
int main( int argc, char** argv )
{
//quantify_clear_data();
INIT_EXCEPTIONS();

View File

@@ -25,9 +25,10 @@
#include "oliasdb/Mmdb.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
usage(int argc, char** argv)
void usage(int argc, char** argv)
{
fprintf(stderr, "Usage:\n");
fprintf(stderr, " %s 0 libpath [bookcaseName]\n", argv[0]);
@@ -67,7 +68,7 @@ extern int test_book2(int argc, char** argv);
extern int test_book3(int argc, char** argv);
extern int auto_test_c_api(int argc, char** argv);
main( int argc, char** argv )
int main( int argc, char** argv )
{
int ok = 0;
DtMmdbInit();

View File

@@ -38,7 +38,7 @@ using namespace std;
#include "utility/const.h"
#include "utility/randomize.h"
main(int argc, char** argv)
int main(int argc, char** argv)
{
if (argc < 2) {
cerr << "usage: " << *argv << " filename\n" << flush;