X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/3386088d5af4d4c61faa12ae29560e2c5bd43304..dd90c19962a63fe966e17c75b4a36639302d1e67:/src/src/string.c diff --git a/src/src/string.c b/src/src/string.c index a3fbc4ea5..461dac56b 100644 --- a/src/src/string.c +++ b/src/src/string.c @@ -1706,6 +1706,17 @@ return yield; #endif /* COMPILE_UTILITY */ +#ifndef COMPILE_UTILITY +/* qsort(3), currently used to sort the environment variables +for -bP environment output, needs a function to compare two pointers to string +pointers. Here it is. */ + +int +string_compare_by_pointer(const void *a, const void *b) +{ +return Ustrcmp(* CUSS a, * CUSS b); +} +#endif /* COMPILE_UTILITY */