diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-24 18:05:33 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-24 18:15:17 +0200 |
commit | 8f49f7b30fc7dbc35e9cc0ac06cbd0bf9adfcaf4 (patch) | |
tree | 4b18f9ad38fe9299e0d818d72afa3a42c704490a | |
parent | wg-quick: android: allow package to be overridden (diff) | |
download | wireguard-monolithic-historical-8f49f7b30fc7dbc35e9cc0ac06cbd0bf9adfcaf4.tar.xz wireguard-monolithic-historical-8f49f7b30fc7dbc35e9cc0ac06cbd0bf9adfcaf4.zip |
wg-quick: android: remove compat code
-rw-r--r-- | src/tools/wg-quick/android.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/tools/wg-quick/android.c b/src/tools/wg-quick/android.c index 610e99c..796607d 100644 --- a/src/tools/wg-quick/android.c +++ b/src/tools/wg-quick/android.c @@ -38,16 +38,6 @@ static bool is_exiting = false; -#if defined(__ANDROID_API__) && __ANDROID_API__ < 24 -static char *strchrnul(const char *s, int c) -{ - char *x = strchr(s, c); - if (!x) - return (char *)s + strlen(s); - return x; -} -#endif - static void *xmalloc(size_t size) { void *ret = malloc(size); |