]> andersk Git - splint.git/blobdiff - src/cppmain.c
*** empty log message ***
[splint.git] / src / cppmain.c
index 40950200e8393d043183a245b058cbd5986cbb80..d64d6956a43b8bff1a848b953af07981185d4657 100644 (file)
@@ -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,
This page took 0.029397 seconds and 4 git commands to generate.