summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbstream.c4
-rw-r--r--pbstream.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/pbstream.c b/pbstream.c
index 4112a7c..bc25c97 100644
--- a/pbstream.c
+++ b/pbstream.c
@@ -13,8 +13,8 @@
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
#else
-#define likely(x)
-#define unlikely(x)
+#define likely(x) (x)
+#define unlikely(x) (x)
#endif
/* An array, indexed by pbstream_type, that indicates what wire type is
diff --git a/pbstream.h b/pbstream.h
index e4046e0..2d6694a 100644
--- a/pbstream.h
+++ b/pbstream.h
@@ -1,5 +1,5 @@
/*
- * pbstream - a small and simple implementation of Protocol Buffers.
+ * pbstream - a stream-oriented implementation of protocol buffers.
*
* Copyright (c) 2008 Joshua Haberman. See LICENSE for details.
*/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback