Tests: Add missing return types to C function prototypes
These were diagnosed by a Clang 15 development version.
This commit is contained in:
parent
e00e67cb92
commit
91987aec24
@ -19,7 +19,7 @@ extern int testStaticLibPlugin(void);
|
||||
#else
|
||||
# define testLib4libcfg testLib4libopt
|
||||
#endif
|
||||
extern testLib4libcfg(void);
|
||||
extern int testLib4libcfg(void);
|
||||
|
||||
int main()
|
||||
{
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
main()
|
||||
int main(void)
|
||||
{
|
||||
printf("hello, world\n");
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user