From 9f2f5e18f1d13c0f2affe1ef302a919ec8e38d0a Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 6 Feb 2009 14:58:42 -0800 Subject: [PATCH] Small tweaks. --- pbstream.c | 4 ++-- pbstream.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pbstream.c b/pbstream.c index 4112a7cfb1..bc25c975b5 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 e4046e0ca2..2d6694a7a5 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. */