dthelp: Resolve 106 compiler warnings.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
static void scanloop(LOGICAL prolog);
|
||||
|
||||
/* Main procedure */
|
||||
void main(argc, argv)
|
||||
int main(argc, argv)
|
||||
int argc ;
|
||||
char **argv ;
|
||||
{
|
||||
@@ -79,6 +79,7 @@ if (! (m_sysent[m_sysecnt] = m_openfirst()))
|
||||
scanloop(FALSE);
|
||||
/* At EOF */
|
||||
m_done() ;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
static void scanloop(LOGICAL prolog)
|
||||
@@ -89,7 +90,7 @@ static char sopt[] =
|
||||
static char name[] = "m_name = '%s'\n" ;
|
||||
static char literal[] = "m_literal = '%s'\n" ;
|
||||
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(___uxp__) || defined(__osf__)
|
||||
#if defined(hpux) || defined(_AIX) || defined(sun) || defined(USL) || defined(___uxp__) || defined(__osf__) || defined(linux)
|
||||
char buffer[M_LITLEN + 80] ;
|
||||
#else
|
||||
#define max4(a,b,c,d) (a>b&&a>c&&a>d) ? a : ((b>c&&b>d) ? b : (c>d ? c : d))
|
||||
|
||||
Reference in New Issue
Block a user