[gnu.gcc.bug] misleading line number in gcc 1.33 warning

andy@CSVAX.CALTECH.EDU (Andy Fyfe) (02/14/89)

The 'previous declaration' should point back to the reference in 'test.h'.
(This was a rather confusing warning for a long time because I wasn't
looking in the right place.)

% cat test.h
int one(void);
% cat test.c
#include "test.h"

static int one(void);

static int one(void)
{
    return 1;
}
% gcc -c test.c
test.c: In function one:
test.c:6: warning: `one' was declared `extern' and later `static'
test.c:3: warning: previous declaration of `one'