dtpad: fix implicit-function-declaration warnings
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <Xm/TextF.h>
|
||||
#include <Xm/LabelG.h>
|
||||
#include <Dt/HourGlass.h>
|
||||
|
||||
|
||||
/************************************************************************
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user