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

Simple compiler warning fixes in programs/dthelp.

This commit is contained in:
David Cantrell 2012-08-21 21:53:33 -04:00
parent 16c57ad669
commit f98d6f41d3
4 changed files with 6 additions and 4 deletions

View file

@ -41,7 +41,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
#include "entdef.h" #include "entdef.h"
/* Main procedure */ /* Main procedure */
void main(argc, argv) int main(argc, argv)
int argc ; int argc ;
char **argv ; char **argv ;
{ {
@ -71,4 +71,5 @@ while (TRUE)
#include "case.c" #include "case.c"
if (m_token == ENDFILE) exit(FALSE) ; if (m_token == ENDFILE) exit(FALSE) ;
} }
return EXIT_SUCCESS;
} }

View file

@ -55,7 +55,7 @@ ELTSTRUCT *ntrelt(p)
w_strcpy(new->enptr, p) ; w_strcpy(new->enptr, p) ;
new->model = M_NULLVAL ; new->model = M_NULLVAL ;
new->content = M_NULLVAL ; new->content = M_NULLVAL ;
new->inptr = new->exptr = NULL ; new->inptr = new->exptr = 0 ;
new->parptr = NULL ; new->parptr = NULL ;
new->parindex = M_NULLVAL ; new->parindex = M_NULLVAL ;
new->paramcount = M_NULLVAL ; new->paramcount = M_NULLVAL ;

View file

@ -169,7 +169,7 @@ delim.h.
#include "cont.h" #include "cont.h"
/* Main procedure */ /* Main procedure */
void main(argc, argv) int main(argc, argv)
int argc ; int argc ;
char **argv ; char **argv ;
{ {
@ -242,5 +242,5 @@ fprintf(context, "#define MAXD %d\n", maxd) ;
dumptree((LOGICAL) (argc > 1)) ; dumptree((LOGICAL) (argc > 1)) ;
fprintf(stderr, "NUMCON set to %d\n", NUMCON) ; fprintf(stderr, "NUMCON set to %d\n", NUMCON) ;
fprintf(stderr, "NUMDELIM set to %d\n", NUMDELIM) ; fprintf(stderr, "NUMDELIM set to %d\n", NUMDELIM) ;
exit(errexit) ; return errexit;
} }

View file

@ -25,6 +25,7 @@
Copyright 1992 Hewlett-Packard Co. Copyright 1992 Hewlett-Packard Co.
*/ */
#include <string.h>
#include "basic.h" #include "basic.h"