summaryrefslogtreecommitdiff
path: root/util-internal.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-04-05 04:10:05 +0000
committerNick Mathewson <nickm@torproject.org>2009-04-05 04:10:05 +0000
commit661b5eea092920dcb316f8e1b4b0843096c707c7 (patch)
tree651d59c3ce9c0d93ed15aa4c121efdb395d35529 /util-internal.h
parent60e0d59b33277755c532dae8242d120e5877bef4 (diff)
downloadlibevent-661b5eea092920dcb316f8e1b4b0843096c707c7.tar.gz
Actually, move EVUTIL_NIL_STMT to util-internal.h
svn:r1135
Diffstat (limited to 'util-internal.h')
-rw-r--r--util-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util-internal.h b/util-internal.h
index b429f57e..34ac6870 100644
--- a/util-internal.h
+++ b/util-internal.h
@@ -33,6 +33,9 @@
extern "C" {
#endif
+/* A good no-op to use in macro definitions. */
+#define _EVUTIL_NIL_STMT ((void)0)
+
/* Internal use only: macros to match patterns of error codes in a
cross-platform way. We need these macros because of two historical
reasons: first, nonblocking IO functions are generally written to give an