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

dtpad: fix implicit-function-declaration warnings

This commit is contained in:
Jon Trulson 2021-11-12 16:37:02 -07:00
parent 23b3b76c1d
commit 6e4b443309
5 changed files with 19 additions and 0 deletions

View file

@ -57,6 +57,8 @@
#include "signal.h"
#include "X11/Xutil.h"
#include <X11/StringDefs.h>
#include <Dt/HourGlass.h>
#include <Dt/Wsm.h>
#ifndef NO_MESSAGE_CATALOG
# define TRUE 1

View file

@ -58,6 +58,7 @@
**********************************<+>*************************************/
#include <Dt/DtpadM.h>
#include <Dt/Action.h>
#include <Dt/HourGlass.h>
#include <Xm/XmPrivate.h> /* _XmStringUngenerate */
@ -65,6 +66,9 @@
extern int numActivePads; /* declared in main.c */
void TTfailPendingSave(Editor *pPad);
void SetSaveAsDirAndFile(Editor *pPad);
/************************************************************************
* Forward Declarations

View file

@ -57,6 +57,7 @@
#include <sys/wait.h>
#include <Xm/TextF.h>
#include <Xm/LabelG.h>
#include <Dt/HourGlass.h>
/************************************************************************

View file

@ -100,6 +100,8 @@
#include <sys/wait.h>
#include <Xm/MwmUtil.h>
#include <Dt/EnvControlP.h>
#include <Dt/Lock.h>
#include <Dt/Action.h>
#include <Dt/DtpadM.h>
#include <Dt/MsgCatP.h>
#include "X11/Xutil.h"
@ -121,6 +123,9 @@ static const char catalogName[] = "dtpad";
# define _DTPAD_CAT_NAME catalogName
#endif
void SetWorkSpaceHints(Widget shell, char *workspaces);
/************************************************************************
* Global Definitions

View file

@ -56,9 +56,16 @@
**
**************************************************************************
**********************************<+>*************************************/
/* for asprintf */
#if defined(__linux__) || defined(CSRG_BASED)
# define _GNU_SOURCE
#endif
#include "dtpad.h"
#include <dirent.h>
#include <Dt/DtpadM.h>
#include <Dt/HourGlass.h>
#define TIMEOUT_FACTOR 1000