diff options
author | Bruno Haible <bruno@clisp.org> | 2023-01-19 21:55:32 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-01-19 21:55:32 +0100 |
commit | 785007effef488985101ef72cc67311235289699 (patch) | |
tree | b51851ac28b1cf09d37cf14eae51d60ab1a815c9 /m4/strchrnul.m4 | |
parent | bf3b90e898ca373873ac57df8c9f992eeab3bd03 (diff) | |
download | gnulib-785007effef488985101ef72cc67311235289699.tar.gz |
Fix warnings for functions introduced in Android API level 24.
* m4/strchrnul.m4 (gl_FUNC_STRCHRNUL): Test for strchrnul using
gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS.
Diffstat (limited to 'm4/strchrnul.m4')
-rw-r--r-- | m4/strchrnul.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/strchrnul.m4 b/m4/strchrnul.m4 index 73e0649609..a38e78531e 100644 --- a/m4/strchrnul.m4 +++ b/m4/strchrnul.m4 @@ -1,4 +1,4 @@ -# strchrnul.m4 serial 10 +# strchrnul.m4 serial 11 dnl Copyright (C) 2003, 2007, 2009-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -10,7 +10,7 @@ AC_DEFUN([gl_FUNC_STRCHRNUL], AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([gl_STRING_H_DEFAULTS]) - AC_CHECK_FUNCS([strchrnul]) + gl_CHECK_FUNCS_ANDROID([strchrnul], [[#include <string.h>]]) if test $ac_cv_func_strchrnul = no; then HAVE_STRCHRNUL=0 else |