changeset 718:d7b0a715bd3b

6775152: freetype version check program problem main arg order Summary: Fix all compiler warnings Reviewed-by: ohair, tbell
author martin
date Sun, 23 Nov 2008 09:56:39 -0800
parents ce2d0938ea27
children 31cb1c17f524
files make/common/shared/Sanity.gmk
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/shared/Sanity.gmk	Fri Nov 21 20:53:37 2008 -0800
+++ b/make/common/shared/Sanity.gmk	Sun Nov 23 09:56:39 2008 -0800
@@ -1350,10 +1350,11 @@
 $(ALSA_VERSION_CHECK).c:
 	@$(prep-target)
 	@$(ECHO) "#include <alsa/asoundlib.h>\n" \
-                  "int main(char** argv, int argc) {\n" \
-                   "  printf(\"%s\", SND_LIB_VERSION_STR);\n" \
-                    "  return 0;\n" \
-                    "}\n" \
+		 "#include <stdio.h>\n" \
+		 "int main(int argc, char** argv) {\n" \
+		 "  printf(\"%s\", SND_LIB_VERSION_STR);\n" \
+		 "  return 0;\n" \
+		 "}\n" \
                     > $@
 endif