projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change argument type to 'unsigned long'.
[gnulib.git]
/
lib
/
stpcpy.c
diff --git
a/lib/stpcpy.c
b/lib/stpcpy.c
index
0ad8863
..
a01636c
100644
(file)
--- a/
lib/stpcpy.c
+++ b/
lib/stpcpy.c
@@
-1,4
+1,5
@@
-/* Copyright (C) 1992, 1995, 1997 Free Software Foundation, Inc.
+/* stpcpy.c -- copy a string and return pointer to end of new string
+ Copyright (C) 1992, 1995, 1997, 1998 Free Software Foundation, Inc.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
NOTE: The canonical source of this file is maintained with the GNU C Library.
Bugs can be reported to bug-glibc@prep.ai.mit.edu.
@@
-33,9
+34,7
@@
/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
char *
/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
char *
-__stpcpy (dest, src)
- char *dest;
- const char *src;
+__stpcpy (char *dest, const char *src)
{
register char *d = dest;
register const char *s = src;
{
register char *d = dest;
register const char *s = src;