dthelp: Remove always on macro M_NOPAR which was just there to support ancient compilers that don't have 'void'
This commit is contained in:
@@ -87,7 +87,7 @@ char *deftype(n)
|
||||
}
|
||||
|
||||
/* Called after all input is read to generate output */
|
||||
void done(M_NOPAR)
|
||||
void done(void)
|
||||
{
|
||||
|
||||
if (! eltree.data) {
|
||||
@@ -167,7 +167,7 @@ void eltblocks(tempfile)
|
||||
|
||||
|
||||
/* Writes data about elements */
|
||||
void eltreeout(M_NOPAR)
|
||||
void eltreeout(void)
|
||||
{
|
||||
M_WCHAR *p ;
|
||||
int enameindex = 0 ;
|
||||
@@ -245,7 +245,7 @@ char *enttype(n)
|
||||
}
|
||||
|
||||
/* Outputs exception lists */
|
||||
void exout(M_NOPAR)
|
||||
void exout(void)
|
||||
{
|
||||
EXCEPTION *ex ;
|
||||
int exindex = 0 ;
|
||||
@@ -268,7 +268,7 @@ void exout(M_NOPAR)
|
||||
}
|
||||
|
||||
/* Outputs FSA definitions */
|
||||
void fsa(M_NOPAR)
|
||||
void fsa(void)
|
||||
{
|
||||
int arcount = 0 ;
|
||||
STATE *pstate ;
|
||||
@@ -331,7 +331,7 @@ void fsa(M_NOPAR)
|
||||
}
|
||||
|
||||
/* Writes data about parameters */
|
||||
void parout(M_NOPAR)
|
||||
void parout(void)
|
||||
{
|
||||
PARAMETER *paramp ;
|
||||
LOGICAL first = TRUE ;
|
||||
@@ -480,7 +480,7 @@ char *partype(n)
|
||||
}
|
||||
|
||||
/* Write short reference information */
|
||||
void srefout(M_NOPAR)
|
||||
void srefout(void)
|
||||
{
|
||||
LOGICAL first = TRUE ;
|
||||
int *mapbysref = NULL;
|
||||
@@ -629,7 +629,7 @@ fputs(" <END-STRING><\\END-STRING>\n", tempfile) ;
|
||||
}
|
||||
|
||||
/* Write template */
|
||||
void template(M_NOPAR)
|
||||
void template(void)
|
||||
{
|
||||
FILE *tempfile ;
|
||||
M_ENTITY *ent ;
|
||||
|
||||
Reference in New Issue
Block a user