summaryrefslogtreecommitdiff
path: root/librabbitmq/utils/strdup.h
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/utils/strdup.h')
-rw-r--r--librabbitmq/utils/strdup.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/librabbitmq/utils/strdup.h b/librabbitmq/utils/strdup.h
deleted file mode 100644
index 4478cbd..0000000
--- a/librabbitmq/utils/strdup.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#ifndef librabbitmq_strdup_h
-#define librabbitmq_strdup_h
-/* strdup is not in ISO C90!
- * we define it here for easy inclusion
- */
-static inline char *strdup(const char *str)
-{
- return strcpy(malloc(strlen(str) + 1),str);
-}
-#endif