Simple compiler warning fixes in programs/dthelp.
This commit is contained in:
@@ -41,7 +41,7 @@ This product and information is proprietary of Tandem Computers Incorporated.
|
||||
#include "entdef.h"
|
||||
|
||||
/* Main procedure */
|
||||
void main(argc, argv)
|
||||
int main(argc, argv)
|
||||
int argc ;
|
||||
char **argv ;
|
||||
{
|
||||
@@ -71,4 +71,5 @@ while (TRUE)
|
||||
#include "case.c"
|
||||
if (m_token == ENDFILE) exit(FALSE) ;
|
||||
}
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ ELTSTRUCT *ntrelt(p)
|
||||
w_strcpy(new->enptr, p) ;
|
||||
new->model = M_NULLVAL ;
|
||||
new->content = M_NULLVAL ;
|
||||
new->inptr = new->exptr = NULL ;
|
||||
new->inptr = new->exptr = 0 ;
|
||||
new->parptr = NULL ;
|
||||
new->parindex = M_NULLVAL ;
|
||||
new->paramcount = M_NULLVAL ;
|
||||
|
||||
@@ -169,7 +169,7 @@ delim.h.
|
||||
#include "cont.h"
|
||||
|
||||
/* Main procedure */
|
||||
void main(argc, argv)
|
||||
int main(argc, argv)
|
||||
int argc ;
|
||||
char **argv ;
|
||||
{
|
||||
@@ -242,5 +242,5 @@ fprintf(context, "#define MAXD %d\n", maxd) ;
|
||||
dumptree((LOGICAL) (argc > 1)) ;
|
||||
fprintf(stderr, "NUMCON set to %d\n", NUMCON) ;
|
||||
fprintf(stderr, "NUMDELIM set to %d\n", NUMDELIM) ;
|
||||
exit(errexit) ;
|
||||
return errexit;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
Copyright 1992 Hewlett-Packard Co.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "basic.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user