aboutsummaryrefslogtreecommitdiffstats
path: root/community/pgbouncer/const_free.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/pgbouncer/const_free.patch')
-rw-r--r--community/pgbouncer/const_free.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/community/pgbouncer/const_free.patch b/community/pgbouncer/const_free.patch
deleted file mode 100644
index a422130e50..0000000000
--- a/community/pgbouncer/const_free.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/lib/usual/base.h b/lib/usual/base.h
-index 99b23fe..f835e33 100644
---- a/lib/usual/base.h
-+++ b/lib/usual/base.h
-@@ -327,14 +327,6 @@ void log_fatal(const char *file, int line, const char *func, bool show_perror, v
- #endif
- #endif
-
--/* Fix posix bug by accepting const pointer. */
--static inline void _const_free(const void *p)
--{
-- free((void *)p);
--}
--/** Compat: make free() accept const pointer */
--#define free(x) _const_free(x)
--
- /** Zeroing malloc */
- _MUSTCHECK
- static inline void *zmalloc(size_t len)