]> andersk Git - splint.git/blobdiff - src/Headers/context.h
Fixed bug 672239 sizeof(array[0]) gives NULL derefence warning.
[splint.git] / src / Headers / context.h
index 2493d3121c62ac15e36b2c444e8d7e4cf8220d11..0af5595ed508005e0e824df7bc43744a0bb2e199 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
+** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
 ** See ../LICENSE for license information.
 **
 */
@@ -154,6 +154,9 @@ extern int context_getLineLen (void) /*@*/ ;
 extern int context_getIndentSpaces (void) /*@*/ ;
 # define context_getIndentSpaces() ((int)context_getValue(FLG_INDENTSPACES))
 
+extern int context_getLocIndentSpaces (void) /*@*/ ;
+# define context_getLocIndentSpaces() ((int)context_getValue(FLG_LOCINDENTSPACES))
+
 extern int context_getValue (flagcode p_flag) /*@*/ ;
 extern void context_setValueAndFlag (flagcode p_flag, int p_val) 
    /*@modifies internalState@*/ ;
@@ -359,6 +362,12 @@ extern ctype context_getLastStruct (/*@returned@*/ /*ctype p_s*/) /*@modifies in
 extern bool context_inOldStyleScope (void) /*@*/ ;
 extern void context_setGlobalStructInfo (ctype p_ct, constraintList p_list) /*@modifies internalState@*/ ;
 
+/*drl added 3/5/2003*/
+
+extern bool context_inSizeof (void);
+extern void context_enterSizeof (void);
+extern void context_leaveSizeof (void);
+
 # else
 # error "Multiple include"
 # endif
This page took 0.035612 seconds and 4 git commands to generate.