earlybrowserreborn - Diff between revs 1 and 4

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 1 Rev 4
Line 76... Line 76...
76 #define XPA_MEM(type)           (type *) malloc(sizeof(type)) 76 #define XPA_MEM(type)           (type *) malloc(sizeof(type))
77 #define XPA_MEMX(type, num)     (type *) malloc((unsigned) (sizeof(type) * (num))) 77 #define XPA_MEMX(type, num)     (type *) malloc((unsigned) (sizeof(type) * (num)))
78 #define XPA_SAVE(str)           strcpy(XPA_MEMX(char, strlen(str)+1), str) 78 #define XPA_SAVE(str)           strcpy(XPA_MEMX(char, strlen(str)+1), str)
79 79
80 #define XPA_FREE(ptr)           free((char *) ptr) 80 #define XPA_FREE(ptr)           free((char *) ptr)
81 -  
-   81 /*
82 extern char *malloc(); 82 extern char *malloc();
83 extern char *realloc(); 83 extern char *realloc();
84 extern void free(); 84 extern void free();
85 extern void exit(); 85 extern void exit();
86 -  
-   86 */
87 static XContext xpa_xcon = (XContext) 0; 87 static XContext xpa_xcon = (XContext) 0;
88 static void pb_draw(); 88 static void pb_draw();
89 89
90 /* Size of pullbox symbol - set in set_pb_sym() */ 90 /* Size of pullbox symbol - set in set_pb_sym() */
91 static XFontStruct *pb_sym_font; 91 static XFontStruct *pb_sym_font;