switch source tree from k&r to c99
This commit is contained in:
@@ -44,7 +44,7 @@ typedef struct dlb_library {
|
||||
#define DLBFILE dlbfilename
|
||||
#define DLBBASENAME "nhdat"
|
||||
extern char dlbfilename[MAX_DLB_FILENAME];
|
||||
extern char *FDECL(build_dlb_filename, (const char *));
|
||||
extern char *build_dlb_filename(const char *);
|
||||
#endif
|
||||
#endif
|
||||
#ifndef FILENAME_CMP
|
||||
@@ -75,16 +75,16 @@ typedef struct dlb_handle {
|
||||
#define DLB_P dlb *
|
||||
#endif
|
||||
|
||||
boolean NDECL(dlb_init);
|
||||
void NDECL(dlb_cleanup);
|
||||
boolean dlb_init(void);
|
||||
void dlb_cleanup(void);
|
||||
|
||||
dlb *FDECL(dlb_fopen, (const char *, const char *));
|
||||
int FDECL(dlb_fclose, (DLB_P));
|
||||
int FDECL(dlb_fread, (char *, int, int, DLB_P));
|
||||
int FDECL(dlb_fseek, (DLB_P, long, int));
|
||||
char *FDECL(dlb_fgets, (char *, int, DLB_P));
|
||||
int FDECL(dlb_fgetc, (DLB_P));
|
||||
long FDECL(dlb_ftell, (DLB_P));
|
||||
dlb *dlb_fopen(const char *, const char *);
|
||||
int dlb_fclose(DLB_P);
|
||||
int dlb_fread(char *, int, int, DLB_P);
|
||||
int dlb_fseek(DLB_P, long, int);
|
||||
char *dlb_fgets(char *, int, DLB_P);
|
||||
int dlb_fgetc(DLB_P);
|
||||
long dlb_ftell(DLB_P);
|
||||
|
||||
/* Resource DLB entry points */
|
||||
#ifdef DLBRSRC
|
||||
|
||||
Reference in New Issue
Block a user