On Sun, Apr 06, 2008 at 11:15:58PM +0100, Johannes Schindelin wrote:
Trying to compile the following test code with gcc 4.1.2 results in a
warning.
test.c:
#include <stdio.h>
void test(struct strbuf *sb);
int main(int argc, char **argv)
{
test(NULL);
return 0;
}
$ gcc -c test.c
test.c:3: warning: ‘struct strbuf’ declared inside parameter list
test.c:3: warning: its scope is only this definition or declaration, which is probably not what you want
--
Adam Simpkins
adam@adamsimpkins.net
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html