/*
** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 University of Virginia,
+** Copyright (C) 1994-2003 University of Virginia,
** Massachusetts Institute of Technology
**
** This program is free software; you can redistribute it and/or modify it
# include "rcfiles.h"
-static void rcfiles_loadFile (FILE *p_rcfile, cstringSList *p_passThroughArgs)
+static void rcfiles_loadFile (FILE *p_rcfile, cstringList *p_passThroughArgs)
/*@modifies *p_passThroughArgs, p_rcfile@*/
/*@ensures closed p_rcfile@*/ ;
-bool rcfiles_read (cstring fname, cstringSList *passThroughArgs, bool report)
+bool rcfiles_read (cstring fname, cstringList *passThroughArgs, bool report)
{
bool res = FALSE;
return res;
}
-static void rcfiles_loadFile (/*:open:*/ FILE *rcfile, cstringSList *passThroughArgs)
+static void rcfiles_loadFile (/*:open:*/ FILE *rcfile, cstringList *passThroughArgs)
/*@modifies rcfile@*/
/*@ensures closed rcfile@*/
{
}
*s = c;
- DPRINTF (("Pass through: %s", cstringSList_unparse (*passThroughArgs)));
+ DPRINTF (("Pass through: %s", cstringList_unparse (*passThroughArgs)));
while ((c == ' ') || (c == '\t'))
{
fileIdList_undefined,
passThroughArgs,
cstringList_size (args),
- cstringList_getElements (args));
+ /*@-nullstate@*/ /*@-type@*/ /* exposes cstring type */
+ cstringList_getElements (args)
+ /*@=nullstate@*/ /*@=type@*/
+ );
cstringList_free (args);
check (fileTable_closeFile (context_fileTable (), rcfile));
}