summaryrefslogtreecommitdiff
path: root/strl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-26 11:10:28 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-26 11:10:28 -0500
commitbd235d50e4f4c38a78a24dce2d0a436cf7f957db (patch)
tree6dd386d39852f13ca28ac0ee154a5f1d74d4a77e /strl.c
parentee75e310841eeef11216d1f3ebf6206f532cc325 (diff)
downloadgpsd-bd235d50e4f4c38a78a24dce2d0a436cf7f957db.tar.gz
splint cleanup.
Diffstat (limited to 'strl.c')
-rw-r--r--strl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/strl.c b/strl.c
index 63ec1ba4..9381a102 100644
--- a/strl.c
+++ b/strl.c
@@ -72,6 +72,7 @@ size_t strlcat(char *dst, const char *src, size_t siz)
* heavily optimized down to assembler level. Thus, likely to be
* faster even with the function call overhead.
*/
+/*@ -mayaliasunique -mustdefine @*/
size_t strlcpy(char *dst, const char *src, size_t siz)
{
size_t len = strlen(src);
@@ -84,6 +85,7 @@ size_t strlcpy(char *dst, const char *src, size_t siz)
}
return len;
}
+/*@ -mayaliasunique -mustdefine @*/
#ifdef __UNUSED__
/* $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $ */