diff options
author | tb <> | 2017-11-28 06:55:49 +0000 |
---|---|---|
committer | tb <> | 2017-11-28 06:55:49 +0000 |
commit | 2123407555a8a039a48a3bbe8fa9edbe43401803 (patch) | |
tree | 896abe9085168c02455508c6273605b4ac8a6e3c /src/lib/libc/string/stpcpy.c | |
parent | 39d54f53c5193a75023fc870449caf64192e3183 (diff) | |
download | openbsd-2123407555a8a039a48a3bbe8fa9edbe43401803.tar.gz openbsd-2123407555a8a039a48a3bbe8fa9edbe43401803.tar.bz2 openbsd-2123407555a8a039a48a3bbe8fa9edbe43401803.zip |
GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections
with "warning: " since 2003, so the messages themselves need not
contain the prefix anymore.
From Scott Cheloha
ok jca, deraadt
Diffstat (limited to 'src/lib/libc/string/stpcpy.c')
-rw-r--r-- | src/lib/libc/string/stpcpy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/stpcpy.c b/src/lib/libc/string/stpcpy.c index d88afac345..5a86541f08 100644 --- a/src/lib/libc/string/stpcpy.c +++ b/src/lib/libc/string/stpcpy.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: stpcpy.c,v 1.2 2014/07/09 17:08:21 naddy Exp $ */ | 1 | /* $OpenBSD: stpcpy.c,v 1.3 2017/11/28 06:55:49 tb Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1988 Regents of the University of California. | 4 | * Copyright (c) 1988 Regents of the University of California. |
@@ -33,7 +33,7 @@ | |||
33 | 33 | ||
34 | #if defined(APIWARN) | 34 | #if defined(APIWARN) |
35 | __warn_references(stpcpy, | 35 | __warn_references(stpcpy, |
36 | "warning: stpcpy() is dangerous; do not use it"); | 36 | "stpcpy() is dangerous; do not use it"); |
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | char * | 39 | char * |