Fix some warnings.

This commit is contained in:
hyousatsu
2024-07-06 09:42:25 +00:00
parent c79224b367
commit f0123efa84
44 changed files with 95 additions and 95 deletions

View File

@@ -30,8 +30,6 @@
#include "globdec.h"
#include "proto.h"
void m_mberr1(char *text, const char *arg);
void assert_hometopic_exists(void)
{
static const char hometopic[] = "-HOMETOPIC";

View File

@@ -154,8 +154,8 @@
m_free(wc_2,"wide character string");
}
#else
m_piaction("UNDEFINED MACHINE",
"m-machine",
m_piaction((M_WCHAR *) "UNDEFINED MACHINE",
(M_WCHAR *) "m-machine",
M_SDATA) ;
#endif
<\CODE>

View File

@@ -26,8 +26,6 @@
#include "userinc.h"
#include "globdec.h"
void m_mberr1(char *text, const char *arg);
#if defined(_AIX) || defined(sun)
/* get definition of getenv(3c) for getting of environment variables */
#include <stdlib.h>

View File

@@ -21,6 +21,8 @@
* Floor, Boston, MA 02110-1301 USA
*/
/* $XConsortium: proto.h /main/3 1995/11/08 10:24:42 rswiston $ */
void chksnb(void);
int m_actgetc(void);
void m_adjuststate(void);
@@ -172,6 +174,8 @@ int main(int argc, char **argv);
void *m_malloc(int size, char *msg);
void m_mberr1(const char *text, const char *arg);
void m_missingtagc(int c, M_HOLDTYPE dchar, LOGICAL start);
LOGICAL m_nextand(M_OPENFSA *thisfsa, M_ELEMENT label);

View File

@@ -47,8 +47,6 @@ This product and information is proprietary of Tandem Computers Incorporated.
#include "entity2.h"
#include "sref.h"
void m_mberr1(char *text, const char *arg);
/* Actually read a character from an input stream */
int m_actgetc(void)
{