Remove custom version of memcached (no longer needed).
[awesomized/libmemcached] / memcached / util.h
diff --git a/memcached/util.h b/memcached/util.h
deleted file mode 100644 (file)
index 1ec1a52..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Wrappers around strtoull/strtoll that are safer and easier to
- * use.  For tests and assumptions, see internal_tests.c.
- *
- * str   a NULL-terminated base decimal 10 unsigned integer
- * out   out parameter, if conversion succeeded
- *
- * returns true if conversion succeeded.
- */
-bool safe_strtoull(const char *str, uint64_t *out);
-bool safe_strtoll(const char *str, int64_t *out);
-bool safe_strtoul(const char *str, uint32_t *out);
-bool safe_strtol(const char *str, int32_t *out);
-
-#ifndef HAVE_HTONLL
-extern uint64_t htonll(uint64_t);
-extern uint64_t ntohll(uint64_t);
-#endif
-
-#ifdef __GCC
-# define __gcc_attribute__ __attribute__
-#else
-# define __gcc_attribute__(x)
-#endif
-
-/**
- * Vararg variant of perror that makes for more useful error messages
- * when reporting with parameters.
- *
- * @param fmt a printf format
- */
-void vperror(const char *fmt, ...)
-    __gcc_attribute__ ((format (printf, 1, 2)));