diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-11 16:48:54 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-09-11 16:48:54 +0200 |
commit | f982bbaa79b0038bc1b4f9f9d419361a63c2b284 (patch) | |
tree | 81448797689d9dd5b6480b3d0841485732128be4 /rpmio/tax.c | |
parent | 1a01bdd6c6785e3e3d99894bf4219a60b1fc8c9a (diff) | |
download | rpm-f982bbaa79b0038bc1b4f9f9d419361a63c2b284.tar.gz rpm-f982bbaa79b0038bc1b4f9f9d419361a63c2b284.tar.bz2 rpm-f982bbaa79b0038bc1b4f9f9d419361a63c2b284.zip |
Remove splint tags.
Diffstat (limited to 'rpmio/tax.c')
-rw-r--r-- | rpmio/tax.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/rpmio/tax.c b/rpmio/tax.c index ee2679b32..9c2f5a9bb 100644 --- a/rpmio/tax.c +++ b/rpmio/tax.c @@ -40,12 +40,10 @@ AjjDx3lJnQBXUDmxM484YXLXZjWFXCiY8GJt6whjf7/2c3rIoT3Z7PQpEvPmM\ * @param nbytes no. of bytes * @return target buffer */ -/*@unused@*/ static inline -char * pgpHexCvt(/*@returned@*/ char *t, const byte *s, int nbytes) - /*@modifies *t @*/ +static inline +char * pgpHexCvt(char *t, const byte *s, int nbytes) { static char hex[] = "0123456789abcdef"; -/*@-boundswrite@*/ while (nbytes-- > 0) { unsigned int i; i = *s++; @@ -53,7 +51,6 @@ char * pgpHexCvt(/*@returned@*/ char *t, const byte *s, int nbytes) *t++ = hex[ (i ) & 0xf ]; } *t = '\0'; -/*@=boundswrite@*/ return t; } @@ -64,9 +61,8 @@ char * pgpHexCvt(/*@returned@*/ char *t, const byte *s, int nbytes) * @param plen no. of bytes * @return hex formatted string */ -/*@unused@*/ static inline /*@observer@*/ +static inline char * pgpHexStr(const byte *p, unsigned int plen) - /*@*/ { static char prbuf[2048]; char *t = prbuf; |