Permalink
Browse files

add include guard to ketama.h

  • Loading branch information...
1 parent bc05659 commit 45a12951215395ca736fbabc13ba6a53bd8ba2b6 @evilrix evilrix committed Aug 13, 2012
Showing with 11 additions and 0 deletions.
  1. +6 −0 libketama/debian/changelog
  2. +5 −0 libketama/ketama.h
View
6 libketama/debian/changelog
@@ -1,3 +1,9 @@
+libketama (1.0-2) unstable; urgency=low
+
+ * Add include guard to ketama.h
+
+ -- Ricky Cormier <ricky@last.fm> Mon, 13 Aug 2012 12:20:57 +0000
+
libketama (1.0-1) unstable; urgency=low
* Initial release
View
5 libketama/ketama.h
@@ -26,6 +26,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef KETAMA_LIBKETAMA_KETAMA_H__
+#define KETAMA_LIBKETAMA_KETAMA_H__
+
#include <sys/sem.h> /* semaphore functions and structs. */
#define MC_SHMSIZE 524288 // 512KB should be ample.
@@ -111,3 +114,5 @@ char* ketama_error();
}
#endif
+#endif // KETAMA_LIBKETAMA_KETAMA_H__
+

0 comments on commit 45a1295

Please sign in to comment.