changeset 137:6a67379970da

6674226: Warning errors in freetypecheck Summary: Just corrected some C code to remove warning errors from gcc. Reviewed-by: tbell
author ohair
date Tue, 18 Mar 2008 11:03:27 -0700
parents 51a7bc3e93a0
children 5b0720709093
files jdk/make/tools/freetypecheck/freetypecheck.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;