mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtaction: Resolve 8 warnings caused by -Wall
This commit is contained in:
parent
ea96eb624d
commit
e51d581782
1 changed files with 2 additions and 8 deletions
|
@ -49,7 +49,7 @@
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <sys/param.h> /* for MAXPATHLEN and MAXHOSTNAMELEN */
|
#include <sys/param.h> /* for MAXPATHLEN and MAXHOSTNAMELEN */
|
||||||
|
|
||||||
#ifdef sun
|
#if defined(sun) || defined(linux)
|
||||||
#include <crypt.h>
|
#include <crypt.h>
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -61,6 +61,7 @@
|
||||||
#include <X11/Intrinsic.h>
|
#include <X11/Intrinsic.h>
|
||||||
#include <Xm/XmP.h>
|
#include <Xm/XmP.h>
|
||||||
#include <Xm/Text.h>
|
#include <Xm/Text.h>
|
||||||
|
#include <Xm/TextF.h>
|
||||||
#include <Xm/SelectioB.h>
|
#include <Xm/SelectioB.h>
|
||||||
#include <Xm/MessageB.h>
|
#include <Xm/MessageB.h>
|
||||||
#include <Xm/Protocols.h>
|
#include <Xm/Protocols.h>
|
||||||
|
@ -87,12 +88,6 @@ XrmOptionDescRec option_list[] =
|
||||||
{ "-termOpts", "termOpts", XrmoptionSepArg, NULL},
|
{ "-termOpts", "termOpts", XrmoptionSepArg, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Fallback Resources */
|
|
||||||
static char *fallback_resources[] = {
|
|
||||||
"*timeout: 5",
|
|
||||||
(char *) NULL
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char * user;
|
char * user;
|
||||||
char * contextDir;
|
char * contextDir;
|
||||||
|
@ -291,7 +286,6 @@ main(
|
||||||
int n=0;
|
int n=0;
|
||||||
char *actionName;
|
char *actionName;
|
||||||
int numArgs = 0;
|
int numArgs = 0;
|
||||||
char contextDir[MAXPATHLEN+1];
|
|
||||||
DtActionArg *ap = NULL;
|
DtActionArg *ap = NULL;
|
||||||
|
|
||||||
XtSetLanguageProc(NULL, NULL, NULL);
|
XtSetLanguageProc(NULL, NULL, NULL);
|
||||||
|
|
Loading…
Reference in a new issue