Tests: Add missing return types to C function prototypes

These were diagnosed by a Clang 15 development version.
This commit is contained in:
Brad King 2022-05-13 11:07:17 -04:00
parent e00e67cb92
commit 91987aec24
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ extern int testStaticLibPlugin(void);
#else
# define testLib4libcfg testLib4libopt
#endif
extern testLib4libcfg(void);
extern int testLib4libcfg(void);
int main()
{

View File

@ -1,5 +1,6 @@
#include <stdio.h>
main()
int main(void)
{
printf("hello, world\n");
return 0;
}