summaryrefslogtreecommitdiff
path: root/beecrypt/memchunk.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-08-02 16:56:03 +0000
committerjbj <devnull@localhost>2004-08-02 16:56:03 +0000
commit43aa4c17b0c5558515e0e32d6f9e956b54ffd369 (patch)
treed740b24bd4125b75240a83db5aa025500d83504c /beecrypt/memchunk.h
parent90afeb87035da6b7603dd0360fae23b5f715b0bf (diff)
downloadrpm-43aa4c17b0c5558515e0e32d6f9e956b54ffd369.tar.gz
Splint fiddles.
CVS patchset: 7380 CVS date: 2004/08/02 16:56:03
Diffstat (limited to 'beecrypt/memchunk.h')
-rw-r--r--beecrypt/memchunk.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/beecrypt/memchunk.h b/beecrypt/memchunk.h
index ba8da6df1..b3f346274 100644
--- a/beecrypt/memchunk.h
+++ b/beecrypt/memchunk.h
@@ -28,6 +28,7 @@
typedef struct
{
size_t size;
+/*@relnull@*/
byte* data;
} memchunk;
@@ -35,7 +36,7 @@ typedef struct
extern "C" {
#endif
-BEECRYPTAPI
+BEECRYPTAPI /*@null@*/
memchunk* memchunkAlloc(size_t size)
/*@*/;
BEECRYPTAPI
@@ -44,10 +45,10 @@ void memchunkWipe(memchunk* m)
BEECRYPTAPI
void memchunkFree(memchunk* m)
/*@modifies m @*/;
-BEECRYPTAPI
+BEECRYPTAPI /*@null@*/
memchunk* memchunkResize(memchunk* m, size_t size)
/*@modifies m @*/;
-BEECRYPTAPI
+BEECRYPTAPI /*@null@*/
memchunk* memchunkClone(const memchunk* m)
/*@*/;