diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-02-26 11:10:28 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-02-26 11:10:28 -0500 |
commit | bd235d50e4f4c38a78a24dce2d0a436cf7f957db (patch) | |
tree | 6dd386d39852f13ca28ac0ee154a5f1d74d4a77e /strl.c | |
parent | ee75e310841eeef11216d1f3ebf6206f532cc325 (diff) | |
download | gpsd-bd235d50e4f4c38a78a24dce2d0a436cf7f957db.tar.gz |
splint cleanup.
Diffstat (limited to 'strl.c')
-rw-r--r-- | strl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 $ */ |