#include file and prototype fixes
SRCS = dbck.h dbck.c fix.c phase1.c phase2.c phase3.c phase4.c nhash.c
OBJS = dbck.o fix.o phase1.o phase2.o phase3.o phase4.o nhash.o
-CODE = dbck.h dbck.dc fix.dc phase1.dc phase2.dc phase3.dc phase4.dc nhash.c
+CODE = dbck.h dbck.pc fix.pc phase1.pc phase2.pc phase3.pc phase4.pc nhash.c
SRCDIR=$(SRCTOP)/dbck
sqlrule()
#include <moira_site.h>
#include <mit-copyright.h>
-#define NULL 0
+#ifndef NULL
+#define NULL ((void*)0)
+#endif
#define MODE_ASK 1
#define MODE_NO 2
#include <mit-copyright.h>
#include <stdio.h>
-#include <strings.h>
+#include <string.h>
#include <signal.h>
#include "dbck.h"
EXEC SQL INCLUDE sqlca;
void interrupt();
SQLDA *mr_sqlda;
+extern SQLDA *sqlald(int,int,int);
main(argc, argv)
int argc;
#include <mit-copyright.h>
#include <ctype.h>
+#include <stdlib.h>
/* #include <moira.h> */
struct int_bucket {
struct int_bucket **data;
};
-extern char *malloc();
-
+#ifndef NULL
#define NULL 0
+#endif
#define int_hash_func(h, key) (key >= 0 ? (key % h->size) : (-key % h->size))
/* Create an int_hash table. The size is just a hint, not a maximum. */
#include <mit-copyright.h>
#include "dbck.h"
-#define NULL 0
-
static char phase3_qc_rcsid[] = "$Header$";