mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
dtsr: fix implicit-function-declaration warnings
This commit is contained in:
parent
e8af2b9ac8
commit
cc422524f7
4 changed files with 10 additions and 0 deletions
|
@ -96,6 +96,8 @@
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include "vista.h"
|
#include "vista.h"
|
||||||
|
|
||||||
|
char *ensure_end_slash (char *pathstr); // lib/DtSearch/lang.c
|
||||||
|
|
||||||
#define PROGNAME "DTSRCREATE"
|
#define PROGNAME "DTSRCREATE"
|
||||||
#define DEFAULT_MINWORD (MINWIDTH_TOKEN + 1)
|
#define DEFAULT_MINWORD (MINWIDTH_TOKEN + 1)
|
||||||
#define STANDARD_MAXWORD (DtSrMAXWIDTH_HWORD - 1)
|
#define STANDARD_MAXWORD (DtSrMAXWIDTH_HWORD - 1)
|
||||||
|
|
|
@ -109,6 +109,8 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
|
||||||
|
char *strupr(char *); // lib/DtSearch/dtsrve.c
|
||||||
|
|
||||||
#define PROGNAME "DTSRHAN"
|
#define PROGNAME "DTSRHAN"
|
||||||
#define MS_chandel 5
|
#define MS_chandel 5
|
||||||
#define RECS_PER_DOT 10L
|
#define RECS_PER_DOT 10L
|
||||||
|
|
|
@ -129,6 +129,10 @@ extern void read_wordstr (struct or_hwordrec * glob_word, int vista_num);
|
||||||
extern void write_wordstr (struct or_hwordrec * glob_word, int vista_num);
|
extern void write_wordstr (struct or_hwordrec * glob_word, int vista_num);
|
||||||
extern void fill_data1 (char *ch);
|
extern void fill_data1 (char *ch);
|
||||||
|
|
||||||
|
// lib/DtSearch/vstfunct.c
|
||||||
|
void fillnew_wordrec (struct or_hwordrec * glob_word, int vista_num);
|
||||||
|
void init_user_interrupt(void); // lib/DtSearch/userint.c
|
||||||
|
|
||||||
#define PROGNAME "DTSRINDEX"
|
#define PROGNAME "DTSRINDEX"
|
||||||
|
|
||||||
#define BATCH_SIZE 10000L
|
#define BATCH_SIZE 10000L
|
||||||
|
|
|
@ -104,6 +104,8 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
|
||||||
|
void init_user_interrupt(void); // lib/DtSearch/userint.c
|
||||||
|
|
||||||
#define PROGNAME "DTSRLOAD"
|
#define PROGNAME "DTSRLOAD"
|
||||||
#define RECS_PER_DOT 20
|
#define RECS_PER_DOT 20
|
||||||
#define TERMINATE_LINE if (dotcount>0) { putchar('\n'); }
|
#define TERMINATE_LINE if (dotcount>0) { putchar('\n'); }
|
||||||
|
|
Loading…
Reference in a new issue