X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/616915ddfdcba888735f45cbd9c26c9b5383ee2c..efd360a3de13e14de15dd5cac81e94cf23f371f2:/src/cppmain.c diff --git a/src/cppmain.c b/src/cppmain.c index 4095020..d64d695 100644 --- a/src/cppmain.c +++ b/src/cppmain.c @@ -1,6 +1,6 @@ /* ** LCLint - annotation-assisted static program checker -** Copyright (C) 1994-2000 University of Virginia, +** Copyright (C) 1994-2001 University of Virginia, ** Massachusetts Institute of Technology ** ** This program is free software; you can redistribute it and/or modify it @@ -48,7 +48,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # include "lclintMacros.nf" # include "llbasic.h" -# include "cpp.h" # include "cpplib.h" # include "cpphash.h" # include "cpperror.h" @@ -150,7 +149,7 @@ int cppProcess (/*@dependent@*/ cstring infile, cppReader_finish (&g_cppState); check (fclose (ofile) == 0); - /* Resotre the original definition table. */ + /* Restore the original definition table. */ if (!context_getFlag (FLG_SINGLEINCLUDE)) { @@ -199,7 +198,7 @@ void cppDoDefine (cstring str) void cppDoUndefine (cstring str) { int sym_length; - HASHNODE *hp; + hashNode hp; char *buf = cstring_toCharsSafe (str); sym_length = cppReader_checkMacroName (&g_cppState, buf,