remove system library prototypes

This commit is contained in:
Patrick Georgi
2025-12-08 22:39:35 +01:00
parent 1a524cb93a
commit de2c06c54d
14 changed files with 5 additions and 37 deletions

View File

@@ -151,9 +151,6 @@ extern int errno;
#define NL_CAT_LOCALE 0
#endif
extern time_t timelocal(); /* LINT */
extern char * getlogin(); /* LINT */
extern void(*sigset())();
extern int cmtt_init(char *, Calendar *, XtAppContext, Widget);
extern void show_about(Widget, XtPointer, XtPointer);

View File

@@ -89,11 +89,7 @@ static char sccsid[] = "@(#)tempbr.c 1.48 95/03/28 Copyr 1991 Sun Microsystems,
static void tb_cancel_cb();
static void tb_close_cb();
static void tempbr_show_cb(Widget w, XtPointer data, XtPointer cbs);
#if defined(__linux__)
#include <string.h>
#else
extern char *strdup(const char *);
#endif
#ifdef FNS_DEMO
/* This stuff is currently broken */

View File

@@ -157,7 +157,6 @@ static int mdays[12] =
{31, 0, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
#define epoch BOT_YEAR
extern struct tm *localtime();
time_t dateconv(int mm,
int dd,
int yy,