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:
Peter Howkins
2018-06-22 20:40:47 +01:00
parent de7e0dfcdd
commit 725b02e6bf
218 changed files with 2975 additions and 14075 deletions

View File

@@ -30,23 +30,11 @@
#endif
#include "basic.h"
void m_err1(
#if defined(M_PROTO)
const char *text, const char *arg
#endif
) ;
void m_err1(const char *text, const char *arg);
void m_exit(
#if defined(M_PROTO)
int status
#endif
) ;
void m_exit(int status);
void m_inctest(
#if defined(M_PROTO)
int *count, int limit, char *message
#endif
) ;
void m_inctest(int *count, int limit, char *message);
/* Increment a count and test against a limit */
void m_inctest(count, limit, message)