]> granicus.if.org Git - libevent/commitdiff
do not define a variable in a header file; it will lead to duplicate symbols when...
authorNiels Provos <provos@gmail.com>
Sun, 1 Jun 2008 01:19:08 +0000 (01:19 +0000)
committerNiels Provos <provos@gmail.com>
Sun, 1 Jun 2008 01:19:08 +0000 (01:19 +0000)
svn:r844

include/event2/event.h

index ac5f87970d6c3c66ad001d01c81520bfd0a72b3a..7fdae30460629f31d243b648e5b6f107c67ea804 100644 (file)
@@ -155,7 +155,7 @@ enum event_method_feature {
     /* Require an event method that allows file descriptors as well as
      * sockets. */
     EV_FEATURE_FDS = 0x04,
-} event_method_feature;
+};
 
 /**
  Return a bitmask of the features implemented by an event base.