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

@@ -36,53 +36,21 @@
extern LOGICAL m_heapchk ;
extern LOGICAL m_malftrace ;
void m_errline(
#if defined(M_PROTO)
char *text
#endif
) ;
void m_errline(char *text);
void m_exit(
#if defined(M_PROTO)
int status
#endif
) ;
void m_exit(int status);
void m_free(
#if defined(M_PROTO)
void *block, char *msg
#endif
) ;
void m_free(void *block, char *msg);
void m_heapdump(
#if defined(M_PROTO)
M_NOPAR
#endif
) ;
void m_heapdump(M_NOPAR);
void *m_malloc(
#if defined(M_PROTO)
int size, char *msg
#endif
) ;
void *m_malloc(int size, char *msg);
void *m_realloc(
#if defined(M_PROTO)
void *ptr, int size, char *msg
#endif
) ;
void *m_realloc(void *ptr, int size, char *msg);
void *m_trace(
#if defined(M_PROTO)
char *text
#endif
) ;
void *m_trace(char *text);
void *m_wctrace(
#if defined(M_PROTO)
M_WCHAR *text
#endif
) ;
void *m_wctrace(M_WCHAR *text);
void m_free(void *block, char *msg)
{