/[rdesktop]/sourceforge.net/trunk/rdesktop/client.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/client.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by matty, Wed Jul 5 07:44:21 2000 UTC revision 7 by matty, Fri Jul 7 09:40:03 2000 UTC
# Line 19  Line 19 
19  */  */
20    
21  #include "includes.h"  #include "includes.h"
 #include "signal.h"  
22    
23  int main(int argc, char *argv[])  int main(int argc, char *argv[])
24  {  {
# Line 47  int main(int argc, char *argv[]) Line 46  int main(int argc, char *argv[])
46    
47          return 0;          return 0;
48  }  }
   
 void *xmalloc(int size)  
 {  
         void *mem = malloc(size);  
         if (mem == NULL) {  
                 fprintf(stderr, "xmalloc: Out of memory.\n");  
                 exit(1);  
         }  
         return mem;  
 }  
   
 void *xrealloc(void *oldmem, int size)  
 {  
         void *mem = realloc(oldmem, size);  
         if (mem == NULL) {  
                 fprintf(stderr, "xrealloc: Out of memory.\n");  
                 exit(1);  
         }  
         return mem;  
 }  

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26