* lib/commonio.h: Added splint annotations.
This commit is contained in:
parent
566fbac1ef
commit
1353c71054
@ -1,3 +1,7 @@
|
|||||||
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* lib/commonio.h: Added splint annotations.
|
||||||
|
|
||||||
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* lib/sgroupio.c: Free allocated structures on failure.
|
* lib/sgroupio.c: Free allocated structures on failure.
|
||||||
|
@ -112,7 +112,7 @@ struct commonio_db {
|
|||||||
/*
|
/*
|
||||||
* Operations from above.
|
* Operations from above.
|
||||||
*/
|
*/
|
||||||
struct commonio_ops *ops;
|
/*@observer@*/const struct commonio_ops *ops;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Currently open file stream.
|
* Currently open file stream.
|
||||||
@ -120,12 +120,12 @@ struct commonio_db {
|
|||||||
/*@null@*/FILE *fp;
|
/*@null@*/FILE *fp;
|
||||||
|
|
||||||
#ifdef WITH_SELINUX
|
#ifdef WITH_SELINUX
|
||||||
security_context_t scontext;
|
/*@null@*/security_context_t scontext;
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* Head, tail, current position in linked list.
|
* Head, tail, current position in linked list.
|
||||||
*/
|
*/
|
||||||
/*@null@*/struct commonio_entry *head, *tail, *cursor;
|
/*@owned@*/ /*@null@*/struct commonio_entry *head, *tail, *cursor;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Various flags.
|
* Various flags.
|
||||||
|
Loading…
Reference in New Issue
Block a user