summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.h
diff options
context:
space:
mode:
authormorganamilo <morganamilo@archlinux.org>2021-01-02 01:00:02 +0100
committerAllan McRae <allan@archlinux.org>2021-01-08 15:12:19 +0100
commitf5b373788fce2326f98a8740fdeb9b8f7dd0a846 (patch)
tree60eec235338e287b7cb371fcda885b9ff973db25 /lib/libalpm/util.h
parentbc1591a0b84643ef457fcd840eff97b902287c86 (diff)
downloadpacman-f5b373788fce2326f98a8740fdeb9b8f7dd0a846.tar.gz
pacman-f5b373788fce2326f98a8740fdeb9b8f7dd0a846.tar.xz
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. */