Configuring with "--enable-warnings" broke three demos:
authorRichard Rauch <rkr@olib.org>
Thu, 25 Dec 2003 14:39:38 +0000 (14:39 +0000)
committerRichard Rauch <rkr@olib.org>
Thu, 25 Dec 2003 14:39:38 +0000 (14:39 +0000)
commit1d883926ef0bf15e6af94957f01ea8e7ef6088a5
tree577ab21d4e7656318b223ad5c4749e9ca08f1c76
parent65138c495648cd547734c045268e7551bb493bb7
Configuring with "--enable-warnings" broke three demos:
 * CallbackMaker defined, but did not use, the Joystick() function
   (a callback for the freeglut joystick interface).  I uncommented
   the callback-registration.  I assume that it was commented out
   because it was spammy.  (freeglut does joysticks by polling with a
   timer.)  Perhaps a longer interval than 10ms would be advisable?

 * fractals.c used strcpy() without getting the prototype.  Added
   #include <string.h> at the top.

 * fractals_random.c had the same problem as fractals.c.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@415 7f0cb862-5218-0410-a997-914c9d46530a
progs/demos/CallbackMaker/CallbackMaker.c
progs/demos/Fractals/fractals.c
progs/demos/Fractals_random/fractals_random.c