00001 /* 00002 ** LCLint - annotation-assisted static program checker 00003 ** Copyright (C) 1994-2000 University of Virginia, 00004 ** Massachusetts Institute of Technology 00005 ** 00006 ** This program is free software; you can redistribute it and/or modify it 00007 ** under the terms of the GNU General Public License as published by the 00008 ** Free Software Foundation; either version 2 of the License, or (at your 00009 ** option) any later version. 00010 ** 00011 ** This program is distributed in the hope that it will be useful, but 00012 ** WITHOUT ANY WARRANTY; without even the implied warranty of 00013 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 ** General Public License for more details. 00015 ** 00016 ** The GNU General Public License is available from http://www.gnu.org/ or 00017 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, 00018 ** MA 02111-1307, USA. 00019 ** 00020 ** For information on lclint: lclint-request@cs.virginia.edu 00021 ** To report a bug: lclint-bug@cs.virginia.edu 00022 ** For more information: http://lclint.cs.virginia.edu 00023 */ 00024 /* 00025 ** enumNameList.c 00026 ** 00027 ** based on list_template.c 00028 ** 00029 ** where T has T_equal (or change this) and T_unparse 00030 ** 00031 ** used to be cenum.c 00032 */ 00033 00034 # include "lclintMacros.nf" 00035 # include "basic.h" 00036 00037 /*@access enumNameList@*/ 00038 00039 void 00040 enumNameSList_free (enumNameSList s) 00041 { 00042 sfree (s->elements); 00043 sfree (s); 00044 } 00045
1.2.3 written by Dimitri van Heesch,
© 1997-2000