freebsd-ports/graphics/acidwarp/files/patch-acidwarp_c
Trevor Johnson 61e3586c7e Add evil/acidwarp, an SVGAlib-based, psychedelic math art demo
descended from the DOS program.
2000-10-22 10:54:37 +00:00

20 lines
591 B
Text

--- acidwarp.c.orig Fri Aug 23 10:27:02 1996
+++ acidwarp.c Sun Oct 22 03:02:21 2000
@@ -2,7 +2,7 @@
* All Rights reserved. Private Proprietary Source Code by Noah Spurrier
* Ported to Linux by Steven Wills
*/
-#include <malloc.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -41,7 +41,7 @@
UCHAR MainPalArray [256 * 3];
UCHAR TargetPalArray [256 * 3];
-void main (int argc, char *argv[])
+int main (int argc, char *argv[])
{
int imageFuncList[NUM_IMAGE_FUNCTIONS], userOptionImageFuncNum;
int paletteTypeNum = 0, userPaletteTypeNumOptionFlag = FALSE;