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:
@@ -25,23 +25,11 @@
|
||||
|
||||
/* Entout has procedures to write generated entity TRIE */
|
||||
|
||||
void entptr(
|
||||
#if defined(M_PROTO)
|
||||
M_ENTITY *data
|
||||
#endif
|
||||
) ;
|
||||
void entptr(M_ENTITY *data);
|
||||
|
||||
char *typetype(
|
||||
#if defined(M_PROTO)
|
||||
int n
|
||||
#endif
|
||||
) ;
|
||||
char *typetype(int n);
|
||||
|
||||
char *typewhere(
|
||||
#if defined(M_PROTO)
|
||||
unsigned char n
|
||||
#endif
|
||||
) ;
|
||||
char *typewhere(unsigned char n);
|
||||
|
||||
/* Macro names written to output file */
|
||||
char xdbuild[] = "M_DBUILD" ;
|
||||
@@ -212,12 +200,7 @@ char *typetype(n)
|
||||
}
|
||||
|
||||
/* Typewhere returns a string indicating where the nth entity was defined.*/
|
||||
#if defined(M_PROTO)
|
||||
char *typewhere(unsigned char n)
|
||||
#else
|
||||
char *typewhere(n)
|
||||
unsigned char n ;
|
||||
#endif
|
||||
{
|
||||
switch(n) {
|
||||
case M_DBUILD: return(xdbuild) ;
|
||||
|
||||
Reference in New Issue
Block a user