dthelp: Remove define M_PROTO that was always turned on (for all platforms) that enabled ANSI not K&R function prototypes
This commit is contained in:
@@ -124,12 +124,7 @@ newpar->ptypep = NULL ;
|
||||
|
||||
|
||||
/* Check that specified default value is legal parameter value */
|
||||
#if defined(M_PROTO)
|
||||
LOGICAL checkdefault( const M_WCHAR *string )
|
||||
#else
|
||||
LOGICAL checkdefault(string)
|
||||
M_WCHAR *string ;
|
||||
#endif /* M_PROTO */
|
||||
{
|
||||
const M_WCHAR *p ;
|
||||
int len ;
|
||||
@@ -205,12 +200,7 @@ switch (newpar->type)
|
||||
|
||||
/* Normalize parameter default. Change tabs and RE's to spaces, capitalize
|
||||
all letters (unless type is CDATA), remove extra space in lists */
|
||||
#if defined(M_PROTO)
|
||||
void normdefault(M_WCHAR *string )
|
||||
#else
|
||||
void normdefault(string)
|
||||
M_WCHAR *string ;
|
||||
#endif /* M_PROTO */
|
||||
{
|
||||
M_WCHAR *p, *q ;
|
||||
int i, ret ;
|
||||
@@ -296,12 +286,7 @@ ruleinit() ;
|
||||
}
|
||||
|
||||
/* Make string the default for the current parameter of the current element */
|
||||
#if defined(M_PROTO)
|
||||
void setdefault(const M_WCHAR *string)
|
||||
#else
|
||||
void setdefault()
|
||||
M_WCHAR *string;
|
||||
#endif /* M_PROTO */
|
||||
{
|
||||
PTYPE *kw ;
|
||||
int keycount ;
|
||||
|
||||
Reference in New Issue
Block a user