diff options
| author | tb <> | 2017-11-28 06:55:49 +0000 |
|---|---|---|
| committer | tb <> | 2017-11-28 06:55:49 +0000 |
| commit | 8498b91851192781ec9ed2dd8420226001473ef7 (patch) | |
| tree | 896abe9085168c02455508c6273605b4ac8a6e3c /src/lib/libc/string/wcscat.c | |
| parent | 3d732f569bfce9c0a9fc58e191b8203d42698af1 (diff) | |
| download | openbsd-8498b91851192781ec9ed2dd8420226001473ef7.tar.gz openbsd-8498b91851192781ec9ed2dd8420226001473ef7.tar.bz2 openbsd-8498b91851192781ec9ed2dd8420226001473ef7.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 '')
| -rw-r--r-- | src/lib/libc/string/wcscat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/string/wcscat.c b/src/lib/libc/string/wcscat.c index 5ddb510fad..0525c3cb14 100644 --- a/src/lib/libc/string/wcscat.c +++ b/src/lib/libc/string/wcscat.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: wcscat.c,v 1.4 2015/09/12 16:23:14 guenther Exp $ */ | 1 | /* $OpenBSD: wcscat.c,v 1.5 2017/11/28 06:55:49 tb Exp $ */ |
| 2 | /* $NetBSD: wcscat.c,v 1.2 2001/01/03 14:29:36 lukem Exp $ */ | 2 | /* $NetBSD: wcscat.c,v 1.2 2001/01/03 14:29:36 lukem Exp $ */ |
| 3 | 3 | ||
| 4 | /*- | 4 | /*- |
| @@ -33,7 +33,7 @@ | |||
| 33 | 33 | ||
| 34 | #if defined(APIWARN) | 34 | #if defined(APIWARN) |
| 35 | __warn_references(wcscat, | 35 | __warn_references(wcscat, |
| 36 | "warning: wcscat() is almost always misused, please use wcslcat()"); | 36 | "wcscat() is almost always misused, please use wcslcat()"); |
| 37 | #endif | 37 | #endif |
| 38 | 38 | ||
| 39 | wchar_t * | 39 | wchar_t * |
