about summary refs log tree commit diff
path: root/sysdeps/generic/strtok_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/strtok_r.c')
-rw-r--r--sysdeps/generic/strtok_r.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/strtok_r.c b/sysdeps/generic/strtok_r.c
index 44430dae40..26d7da5176 100644
--- a/sysdeps/generic/strtok_r.c
+++ b/sysdeps/generic/strtok_r.c
@@ -1,5 +1,5 @@
 /* Reentrant string tokenizer.  Generic version.
-   Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1996, 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@
 		// s = "abc\0-def\0"
 */
 char *
-strtok_r (s, delim, save_ptr)
+__strtok_r (s, delim, save_ptr)
      char *s;
      const char *delim;
      char **save_ptr;
@@ -61,3 +61,4 @@ strtok_r (s, delim, save_ptr)
     }
   return token;
 }
+weak_alias (__strtok_r, strtok_r)