Filewatcher File Search
FTP Search
  
Directory 
  
Content Search 
   
pkg://yahtzee-1.0-188.src.rpm:41462/colour-yahtzee-ia64.patch  info  downloads

--- main.c
+++ main.c
@@ -1,5 +1,7 @@
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
+#include <time.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <errno.h>
@@ -84,6 +86,8 @@
 
 int numlines;
 
+int yabort(char *msg);
+
 init(void)
 {
 	int i;
@@ -151,7 +155,7 @@
 
 	initscr();
 	if (LINES < 23)
-		abort("Not enough lines on the terminal");
+		yabort("Not enough lines on the terminal");
 	numlines = LINES;
 	
 	if(has_colors())
@@ -181,7 +185,7 @@
 	endwin();
 }
 
-abort(char *msg)
+yabort(char *msg)
 {
 	yend();
 	putchar('\n');
@@ -304,7 +308,7 @@
 	int j;
 
 	if (num < 1 || num > 5)
-		abort("Bad dice loc passed");
+		yabort("Bad dice loc passed");
 		
 	attron(COLOR_PAIR(COLOR_GREEN));
 
Results 1 - 1
Help - FTP Sites List - Software Dir.
Searching half a billion files worldwide
© 1997-2009 MARUHN Internet Solutions