Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a few splint annotations. Need to find other annotations that are…
… applicable and annotate rest of source.
- Loading branch information
Showing
3 changed files
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
/* | ||
Splint annotations. | ||
*/ | ||
|
||
#ifndef __M1_ANN_H__ | ||
#define __M1_ANN_H__ | ||
|
||
#define NOTNULL(x) /*@notnull@*/ x | ||
|
||
#define NOTNULL(x) /*@notnull@*/ x | ||
#define ARGOUT(x) /*@out@*/ x | ||
#define ARGIN(x) /*@in@*/ x | ||
|
||
#define ARGIN_NOTNULL(x) /*@notnull@*/ /*@in@*/ x | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters