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.
This commit is contained in:
Stephen Heumann 2020-02-06 18:02:46 -06:00
parent bffb07c32a
commit 890f177c70

View File

@ -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;