Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 13:24:25 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 25957 for review
Message-ID:  <200302262124.h1QLOPIQ013161@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=25957

Change 25957 by jhb@jhb_laptop on 2003/02/26 13:23:26

	More compile fixes.

Affected files ...

.. //depot/projects/smpng/sys/kern/subr_eventhandler.c#10 edit

Differences ...

==== //depot/projects/smpng/sys/kern/subr_eventhandler.c#10 (text+ko) ====

@@ -48,6 +48,8 @@
     void			(* func)(void);
 };
 
+static struct eventhandler_list *_eventhandler_find_list(char *name);
+
 /*
  * Initialize the eventhandler mutex and list.
  */
@@ -69,6 +71,7 @@
 eventhandler_register(struct eventhandler_list *list, char *name, 
 		      void *func, void *arg, int priority)
 {
+    struct eventhandler_list		*new_list;
     struct eventhandler_entry_generic	*eg;
     struct eventhandler_entry		*ep;
     
@@ -208,7 +211,7 @@
     struct eventhandler_entry *ep, *en;
 
     EHL_LOCK_ASSERT(list, MA_OWNED);
-    ep = TAILQ_FIRST(&list->el_entries));
+    ep = TAILQ_FIRST(&list->el_entries);
     while (ep != NULL) {
 	en = TAILQ_NEXT(ep, ee_link);
 	if (ep->ee_priority == EHE_DEAD_PRIORITY) {

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302262124.h1QLOPIQ013161>