* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / as / z80 / aslist.c
index 0a8293bb1f0a7f57c6e881f2b269fb959de1882b..675ead5750b0d725789c93e1d55f87cb62c87576 100644 (file)
@@ -1,13 +1,20 @@
-/* aslist.c */
+/* aslist.c
 
-/*
- * (C) Copyright 1989-1995
- * All Rights Reserved
- *
- * Alan R. Baldwin
- * 721 Berkeley St.
- * Kent, Ohio  44240
- */
+   Copyright (C) 1989-1995 Alan R. Baldwin
+   721 Berkeley St., Kent, Ohio 44240
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 3, or (at your option) any
+later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 
 /*
  * Extensions: P. Felber
@@ -565,7 +572,6 @@ int flag;
  *              int     i               loop counter
  *              int     j               temporary
  *              int     k               temporary
- *              char *  ptr             pointer to an id string
  *              int     nmsym           number of symbols
  *              int     narea           number of areas
  *              sym *   sp              pointer to symbol structure
@@ -596,8 +602,7 @@ int flag;
  */
 
 VOID
-lstsym(fp)
-FILE *fp;
+lstsym(FILE *fp)
 {
         register int c, i, j, k;
         int nmsym, narea;