Diff for /src/sys/sys/eventhandler.h between versions 1.3 and 1.4

version 1.3, 2003/08/20 07:31:21 version 1.4, 2004/04/21 02:17:13
Line 92  do {         \ Line 92  do {         \
   
   
 /*  /*
 * Slow handlerss are entirely dynamic; lists are created * Slow handlers are entirely dynamic; lists are created
 * when entries are added to them, and thus have no concept of "owner", * when entries are added to them, and thus have no concept of "owner".
  *   *
 * Slow handlerss need to be declared, but do not need to be defined. The * Slow handlers need to be declared, but do not need to be defined. The
  * declaration must be in scope wherever the handler is to be invoked.   * declaration must be in scope wherever the handler is to be invoked.
  */   */
 #define EVENTHANDLER_DECLARE(name, type)        \  #define EVENTHANDLER_DECLARE(name, type)        \
Line 130  do {       \ Line 130  do {       \
     if ((_el = eventhandler_find_list(#name)) != NULL)  \      if ((_el = eventhandler_find_list(#name)) != NULL)  \
         eventhandler_deregister(_el, tag);              \          eventhandler_deregister(_el, tag);              \
 } while(0)  } while(0)
        
   
 extern eventhandler_tag eventhandler_register(struct eventhandler_list *list,   extern eventhandler_tag eventhandler_register(struct eventhandler_list *list, 
                                               char *name,                                                char *name,

Removed from v.1.3  
changed lines
  Added in v.1.4