summaryrefslogtreecommitdiff
blob: 6cfb8c62627df5f5604e1f27c39abe0ebdd37e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -Naur rpl-1.4.0-clean/src/replace.h rpl-1.4.0/src/replace.h
--- rpl-1.4.0-clean/src/replace.h	2002-07-24 10:41:45.000000000 -0500
+++ rpl-1.4.0/src/replace.h	2006-02-19 16:38:32.000000000 -0500
@@ -77,7 +77,7 @@
 
 /* This is a simple macro to call malloc() and die if it returns null */
 #define MALLOC_FAIL_STRING   ("\n" PACKAGE " Unable to allocate memory!")
-#define MALLOC_AND_CHECK( x, y )       (void*)(x)=malloc((y));if(x==NULL){fprintf(stderr,"\n%s --> %s:%d\n", MALLOC_FAIL_STRING, __FILE__, __LINE__ );exit(EX_OSERR);}
+#define MALLOC_AND_CHECK( x, y )       (x)=malloc((y));if(x==NULL){fprintf(stderr,"\n%s --> %s:%d\n", MALLOC_FAIL_STRING, __FILE__, __LINE__ );exit(EX_OSERR);}
 	
 
 /*  Function Prototypes */
@@ -90,4 +90,4 @@
 
 static void EchoFeedback(int, int, int, char*);
 
-static void SetPerms(struct stat, int, int, char*, int* );
\ No newline at end of file
+static void SetPerms(struct stat, int, int, char*, int* );