/[monit]/monit/monitor.h
ViewVC logotype

Diff of /monit/monitor.h

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

revision 1.103 by chopp, Mon Sep 29 15:53:25 2003 UTC revision 1.104 by hauk, Tue Sep 30 16:03:13 2003 UTC
# Line 159  Sigfunc *signal(int signo, Sigfunc * fun Line 159  Sigfunc *signal(int signo, Sigfunc * fun
159  #define END_LOCK pthread_mutex_unlock(_yymutex); } while (0)  #define END_LOCK pthread_mutex_unlock(_yymutex); } while (0)
160    
161    
162  /** ----------------------------------------------- Object Constructor macro */  /** ---------------------------------- Object Constructor/"Destructor" macro */
163    
164    
165  #define NEW(p) ((p)= xcalloc(1, (long)sizeof *(p)))  #define NEW(p) ((p)= xcalloc(1, (long)sizeof *(p)))
166    #define FREE(p) ((void)(free(p), (p)= 0))
167    
168    
169  /** ------------------------------------------ Simple Assert Exception macro */  /** ------------------------------------------ Simple Assert Exception macro */

Legend:
Removed from v.1.103  
changed lines
  Added in v.1.104

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26