6674226: Warning errors in freetypecheck
authorohair
Tue, 18 Mar 2008 11:03:27 -0700
changeset 137 6a67379970da
parent 33 51a7bc3e93a0
child 138 5b0720709093
6674226: Warning errors in freetypecheck Summary: Just corrected some C code to remove warning errors from gcc. Reviewed-by: tbell
jdk/make/tools/freetypecheck/freetypecheck.c
--- a/jdk/make/tools/freetypecheck/freetypecheck.c	Mon Mar 10 16:51:23 2008 -0700
+++ b/jdk/make/tools/freetypecheck/freetypecheck.c	Tue Mar 18 11:03:27 2008 -0700
@@ -26,13 +26,16 @@
 /* Test program for freetype sanity check.
    Prints "Failed" messages to STDOUT if check fails. */
 
+#include <stdio.h>
+#include <string.h>
+
 #include "ft2build.h"
 #include FT_FREETYPE_H
 
 #define QUOTEMACRO(x) QUOTEME(x)
 #define QUOTEME(x) #x
 
-int main(char** argv, int argc) {
+int main(int argc, char** argv) {
    char v[50];
    FT_Int major, minor, patch;
    FT_Library library;