From 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:20 +0200 Subject: Adding upstream version 14.2.21. Signed-off-by: Daniel Baumann --- src/c-ares/ares_version.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/c-ares/ares_version.c (limited to 'src/c-ares/ares_version.c') diff --git a/src/c-ares/ares_version.c b/src/c-ares/ares_version.c new file mode 100644 index 00000000..4f8c42f2 --- /dev/null +++ b/src/c-ares/ares_version.c @@ -0,0 +1,11 @@ + +#include "ares_setup.h" +#include "ares.h" + +const char *ares_version(int *version) +{ + if(version) + *version = ARES_VERSION; + + return ARES_VERSION_STR; +} -- cgit v1.2.3