Pixmap work;
} wormhole;
-inline int rnd( int q ){
+/*inline*/ static int rnd( int q ){
return random() % q;
}
+#if 0
static void destroyColorChanger( color_changer * ch, Display * display, Colormap * cmap ){
int q;
for ( q = 0; q < ch->max; q++ )
XFreeColors( display, *cmap, &( ch->shade[q].pixel ), 1, 0 );
free( ch->shade );
}
+#endif
static void resizeWormhole( wormhole * worm, Display * display, Window * win ){
}
+#if 0
static void destroyWormhole( wormhole * worm, Display * display, Colormap * cmap ){
destroyColorChanger( &(worm->changer), display, cmap );
XFreePixmap( display, worm->work );
free( worm->stars );
}
+#endif
static double Cos( int a ){
return cos( a * 180.0 / M_PI );
*/
}
- destroyWormhole( &worm, dpy, &cmap );
+/* not reached: destroyWormhole( &worm, dpy, &cmap ); */
}