print_indent prototype missing from header
Submitted by Brant Gurganus
Assigned to David Zeuthen @david
Description
The print_indent prototype is missing from the root/test/mocklibc/src/netgroup.h header. Because of the FILE definition being used, <stdio.h> also needs included.
The compilation affected is that of mocklibc-debug-netgroup. Currently that uses print_included without a formal prototype to ensure consistency between the implementation from netgroup.c and the usage in netgroup-debug.c. Without a proper prototype, the C compiler must guess at the calling convention which can be dangerous.
Again, this can be addressed by adding the <stdio.h> include and the print_include prototype to netgroup.h.