From: erg Date: Wed, 4 Aug 2010 15:15:50 +0000 (+0000) Subject: Add include of glexpose.h; X-Git-Tag: LAST_LIBGRAPH~32^2~1232 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae25f82299ccc2872918346b937a65eb41046b9b;p=graphviz Add include of glexpose.h; remove unused variable and function --- diff --git a/cmd/smyrna/main.c b/cmd/smyrna/main.c index 8980aa30a..fd460336a 100755 --- a/cmd/smyrna/main.c +++ b/cmd/smyrna/main.c @@ -39,6 +39,7 @@ #include "libintl.h" #endif #include +#include "glexpose.h" #include "glutrender.h" #ifdef HAVE_GETOPT_H @@ -158,6 +159,7 @@ void display() glutSwapBuffers(); } +#if UNUSED static void glutMode() { glutInitWindowSize(512,512); @@ -167,7 +169,7 @@ static void glutMode() glutMainLoop(); // Infinite event loop } - +#endif static void windowedMode(int argc, char *argv[]) { @@ -218,10 +220,6 @@ static void windowedMode(int argc, char *argv[]) int main(int argc, char *argv[]) { - char *initFileName; - - - smyrnaDir = getenv("SMYRNA_PATH"); if (!smyrnaDir) { #ifdef _WIN32