dtstyle: fix implicit-function-declaration warnings

This commit is contained in:
Jon Trulson
2021-11-15 13:33:20 -07:00
parent 086002c372
commit 6f553130a3
23 changed files with 95 additions and 30 deletions

View File

@@ -32,7 +32,7 @@
** file
**
**
** (c) Copyright Hewlett-Packard Company, 1990.
** (c) Copyright Hewlett-Packard Company, 1990.
**
**
**
@@ -44,20 +44,16 @@
/* External variables */
#define DT_PAL_DIR "/.dt/palettes/"
/*
extern char *DT_PAL_DIR = "/.dt/palettes/";
/*
extern char *DT_PAL_DIR = "/.dt/palettes/";
*/
/* External Interface */
extern void ReadPalette( char *directory,
extern void ReadPalette( char *directory,
char *in_filename,
#if NeedWidePrototypes
int length );
#else
short length );
#endif
extern void AddSystemPath( void );
extern void AddDirectories( char *text );
extern void AddHomePath( void );
@@ -72,6 +68,10 @@ extern void restoreBackdrop( Widget shell, XrmDatabase db) ;
extern void saveBackdrop( int fd) ;
extern void CheckFileType( void );
extern void ReadInPalettes(char *text);
int WriteOutPalette(char *paletteName);
Boolean RemovePalette(void);
int WriteOutDesc(palette *tmp_palette);
#endif /* _colorfile_h */
/* DON'T ADD ANYTHING AFTER THIS #endif */