Fixed the main() argument types for test prog.

Fixed typo.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@969 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-05-21 10:03:57 +00:00
parent 8b82f9ff64
commit 3545df4287
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -170,7 +170,9 @@ have_library() {
eval eval TEMP_CFLAGS="\\\"\$LIB_${LIB}_CFLAGS\\\""
try_compile_c "$TEMP_CFLAGS" "$TEMP_LDFLAGS" << EOF
int main() {
int main(int argc, char *argv[]) {
(void) argc; /* Get rid of unused variable warning */
(void) argv; /* Get rid of unused variable warning */
return 0;
}
EOF