Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2021-01-02 00:00:02 +0000
committerAllan McRae <allan@archlinux.org>2021-01-09 00:12:19 +1000
commitf5b373788fce2326f98a8740fdeb9b8f7dd0a846 (patch)
tree60eec235338e287b7cb371fcda885b9ff973db25 /lib/libalpm/util.h
parentbc1591a0b84643ef457fcd840eff97b902287c86 (diff)
libalpm: don't use curl's deprecated functions
This bumps the minimun curl version from 7.32.0 to 7.55.0. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.h')
-rw-r--r--lib/libalpm/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/util.h b/lib/libalpm/util.h
index 03c8ed44..2f120adc 100644
--- a/lib/libalpm/util.h
+++ b/lib/libalpm/util.h
@@ -81,8 +81,6 @@ void _alpm_alloc_fail(size_t size);
(handle)->pm_errno = (err); \
return (ret); } while(0)
-#define DOUBLE_EQ(x, y) (fabs((x) - (y)) < DBL_EPSILON)
-
#define CHECK_HANDLE(handle, action) do { if(!(handle)) { action; } (handle)->pm_errno = ALPM_ERR_OK; } while(0)
/** Standard buffer size used throughout the library. */