dthelp: Convert all K&R function definitions to ANSI (C90) standard
This commit is contained in:
@@ -81,8 +81,7 @@ void dumptree(LOGICAL sparse)
|
||||
}
|
||||
|
||||
/* Enter a delimiter into the delimiter tree for a particular context */
|
||||
void enterdelim(n)
|
||||
int n;
|
||||
void enterdelim(int n)
|
||||
{
|
||||
if (! contree[n])
|
||||
{
|
||||
@@ -107,8 +106,7 @@ if (m_ntrtrie(dstruct->string,
|
||||
}
|
||||
|
||||
/* Read the code to be executed with a given state transition */
|
||||
void getcode(n)
|
||||
int n;
|
||||
void getcode(int n)
|
||||
{
|
||||
int c ; /* c is int instead of char for use with ungetc */
|
||||
int nested = 1;
|
||||
@@ -619,8 +617,7 @@ void nextcon(LOGICAL sparse)
|
||||
|
||||
/* If sparse matrix output option, generate a single element of transit
|
||||
array */
|
||||
void prtctxt(column, value)
|
||||
int column, value;
|
||||
void prtctxt(int column, int value)
|
||||
{
|
||||
static LOGICAL first = TRUE;
|
||||
|
||||
@@ -655,8 +652,7 @@ void skiptoend(void)
|
||||
}
|
||||
|
||||
/* Return a character to the input stream for re-reading */
|
||||
void unread(c)
|
||||
int c;
|
||||
void unread(int c)
|
||||
{
|
||||
M_WCHAR wnl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user