From: ellson Date: Tue, 19 May 2009 14:03:42 +0000 (+0000) Subject: fix prototypes for C99 compiance, and to reduce compiler warning noise X-Git-Tag: LAST_LIBGRAPH~32^2~2053 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1f8fe7479bdd6425e65e786bdfda6501ce6b533;p=graphviz fix prototypes for C99 compiance, and to reduce compiler warning noise --- diff --git a/cmd/smyrna/main.c b/cmd/smyrna/main.c index 985130d05..cc828b01b 100755 --- a/cmd/smyrna/main.c +++ b/cmd/smyrna/main.c @@ -161,6 +161,11 @@ int main(int argc, char *argv[]) #endif } + + glutInitWindowSize(500, 500); + glutInitWindowPosition(0, 0); + glutInit(&argc,argv); + load_attributes(); #ifdef G_OS_WIN32 @@ -214,9 +219,6 @@ int main(int argc, char *argv[]) change_cursor(GDK_TOP_LEFT_ARROW); -#ifndef WIN32 - glutInit(&argc,argv); -#endif gtk_main();