r11140 - prelude-lml/trunk/libev

[email protected]
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
Author: yoann
Date: 2009-04-10 12:05:38 +0200 (Fri, 10 Apr 2009)
New Revision: 11140

Modified:
   prelude-lml/trunk/libev/ev.h
Log:
Fix extern triggered warning.

Modified: prelude-lml/trunk/libev/ev.h
===================================================================
--- prelude-lml/trunk/libev/ev.h	2009-04-10 10:05:33 UTC (rev 11139)
+++ prelude-lml/trunk/libev/ev.h	2009-04-10 10:05:38 UTC (rev 11140)
@@ -425,11 +425,12 @@
 void ev_set_syserr_cb (void (*cb)(const char *msg));
 
 #if EV_MULTIPLICITY
+extern struct ev_loop *ev_default_loop_ptr;
+extern struct ev_loop *ev_default_loop_init (unsigned int flags);
+
 EV_INLINE struct ev_loop *
 ev_default_loop_uc (void)
 {
-  extern struct ev_loop *ev_default_loop_ptr;
-
   return ev_default_loop_ptr;
 }
 
@@ -442,8 +443,6 @@
 
   if (!loop)
     {
-      extern struct ev_loop *ev_default_loop_init (unsigned int flags);
-
       loop = ev_default_loop_init (flags);
     }
 
@@ -461,13 +460,12 @@
 
 #else
 
+extern ev_tstamp ev_rt_now;
 int ev_default_loop (unsigned int flags); /* returns true when successful */
 
 EV_INLINE ev_tstamp
 ev_now (void)
 {
-  extern ev_tstamp ev_rt_now;
-
   return ev_rt_now;
 }
 #endif /* multiplicity */

_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.