* lib/commonio.h: Added splint annotations.

This commit is contained in:
nekral-guest 2009-04-24 23:33:47 +00:00
parent 566fbac1ef
commit 1353c71054
2 changed files with 7 additions and 3 deletions

View File

@ -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.

View File

@ -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.