aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/string/strndup.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 19:31:41 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:05 -0600
commit6783860a2e4e4183c073f62e4bb938cea0e096c3 (patch)
treeab2289b4902fdfc7266edcb8bcfbd8f5601948bd /newlib/libc/string/strndup.c
parent1e39db3062f941778e748f833e1f88dd5c7399a3 (diff)
downloadnewlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.zip
newlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.tar.gz
newlib-6783860a2e4e4183c073f62e4bb938cea0e096c3.tar.bz2
ansification: remove _AND
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/string/strndup.c')
-rw-r--r--newlib/libc/string/strndup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/string/strndup.c b/newlib/libc/string/strndup.c
index caa1b68..64e9ae6 100644
--- a/newlib/libc/string/strndup.c
+++ b/newlib/libc/string/strndup.c
@@ -7,7 +7,7 @@
char *
_DEFUN (strndup, (str, n),
- _CONST char *str _AND
+ _CONST char *str,
size_t n)
{
return _strndup_r (_REENT, str, n);