1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

libcsa: resolve all missing-prototypes warnings

This commit is contained in:
Peter Howkins 2020-08-01 23:00:23 +01:00
parent f4eb62fa69
commit cb3180cd2a
7 changed files with 12 additions and 1 deletions

View file

@ -48,6 +48,7 @@
#include <X11/Intrinsic.h> #include <X11/Intrinsic.h>
#include "agent.h" #include "agent.h"
#include "agent_p.h"
#include "cmcb.h" #include "cmcb.h"
#include "entry.h" #include "entry.h"
#include "debug.h" #include "debug.h"

View file

@ -37,6 +37,9 @@
#include "csa.h" #include "csa.h"
#include "cmxdr.h" #include "cmxdr.h"
bool_t xdr_cms_attribute_value(XDR *xdrs, cms_attribute_value *objp);
bool_t xdr_time_t(XDR *xdrs, time_t *objp);
/* Functions generated by rtable4.x */ /* Functions generated by rtable4.x */
/* /*
* time_t is a typedef which is system dependent * time_t is a typedef which is system dependent

View file

@ -43,6 +43,8 @@
#include <syslog.h> #include <syslog.h>
#include <debug.h>
static int inited = 0; static int inited = 0;
extern void extern void

View file

@ -50,6 +50,8 @@
#define SVR4 #define SVR4
#endif #endif
#include "lutil.h"
#if !defined(__linux__) #if !defined(__linux__)
extern char * strdup(const char *); extern char * strdup(const char *);
#endif #endif

View file

@ -60,6 +60,7 @@
#define FRISYMBOL "FR" #define FRISYMBOL "FR"
#define SATSYMBOL "SA" #define SATSYMBOL "SA"
int _DtCm_yylex(void);
static int scanbuf(char **inbuf, char *, int *); static int scanbuf(char **inbuf, char *, int *);
/* The rule that needs to be parsed is passed to yylex() through this var */ /* The rule that needs to be parsed is passed to yylex() through this var */

View file

@ -53,6 +53,7 @@
#include "nametbl.h" #include "nametbl.h"
#include "match.h" #include "match.h"
#include "iso8601.h" #include "iso8601.h"
#include "table.h"
extern u_long _DtCm_transient; extern u_long _DtCm_transient;

View file

@ -33,6 +33,7 @@
#include <X11/Intrinsic.h> #include <X11/Intrinsic.h>
#include <rpc/rpc.h> #include <rpc/rpc.h>
#include "debug.h" #include "debug.h"
#include "xtclient.h"
typedef struct _appctlist { typedef struct _appctlist {
XtAppContext appct; XtAppContext appct;
@ -55,7 +56,7 @@ static boolean_t new_appct(XtAppContext apptct);
* register callback for all file descriptors that's set * register callback for all file descriptors that's set
* (since we don't know which one is ours). * (since we don't know which one is ours).
*/ */
extern void void
_DtCm_register_xtcallback(XtAppContext appct) _DtCm_register_xtcallback(XtAppContext appct)
{ {
XtInputId id; XtInputId id;