summaryrefslogtreecommitdiff
path: root/sysdeps/i386/strlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/strlen.c')
-rw-r--r--sysdeps/i386/strlen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/i386/strlen.c b/sysdeps/i386/strlen.c
index 3c1398b461..6305d364c8 100644
--- a/sysdeps/i386/strlen.c
+++ b/sysdeps/i386/strlen.c
@@ -1,6 +1,6 @@
/* strlen -- determine the length of a string.
For Intel 80x86, x>=3.
- Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
Contributed by Torbjorn Granlund (tege@sics.se).
The GNU C Library is free software; you can redistribute it and/or
@@ -18,11 +18,10 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#include <ansidecl.h>
#include <string.h>
size_t
-DEFUN(strlen, (str), CONST char *str)
+strlen (const char *str)
{
int cnt;