From 890f177c70451ef15cc24a137301a84bf5f74090 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Thu, 6 Feb 2020 18:02:46 -0600 Subject: [PATCH] Add an explicit "int" type to a declaration that used implicit int. Implicit int was removed from C99, and all C99+ compilers should give a diagnostic about declarations like this. ORCA/C now detects this problem with a lint check. --- dmake/unix/gno/rmprq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmake/unix/gno/rmprq.c b/dmake/unix/gno/rmprq.c index 377d8d1..68b52fd 100644 --- a/dmake/unix/gno/rmprq.c +++ b/dmake/unix/gno/rmprq.c @@ -40,7 +40,7 @@ PUBLIC void Remove_prq( CELLPTR tcp ) { static LINKPTR rlp = NIL(LINK); - static flag = 0; + static int flag = 0; static HASHPTR m_at, m_q, m_b, m_g, m_l, m_bb, m_up; char *m_at_s, *m_g_s, *m_q_s, *m_b_s, *m_l_s, *m_bb_s, *m_up_s; LINKPTR tlp;