a56: parameters of this strtol() differ from strtol() in stdlib.h - rename it to...
[linux-libre-firmware.git] / a56 / subs.c
old mode 100755 (executable)
new mode 100644 (file)
index a9e0b5e..5166717
@@ -8,6 +8,26 @@
  *******************************************************\
 
 /*
+ * Copyright (C) 2008 Robert Millan <rmh@aybabtu.com>
+ * Copyright (C) 2012 Thorsten Alteholz <debian@alteholz.de>
+ *
+ * This file 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 of the License,
+ * 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/>.
+ *
+ * This file incorporates work covered by the following copyright and
+ * permission notice:
+ *
  * Copyright (C) 1990-1994 Quinn C. Jensen
  *
  * Permission to use, copy, modify, distribute, and sell this software
@@ -30,8 +50,6 @@ static char *Copyright = "Copyright (C) 1990-1994 Quinn C. Jensen";
 
 #define MAX 1024
 
-char *alloc();
-
 FILE *open_read(file)
 char *file;
 {
@@ -134,7 +152,7 @@ int size;
        (c) >= 'A' && (c) <= 'Z' || \
        (c) >= 'a' && (c) <= 'z')
 
-strtol(s, p, base)
+a56_strtol(s, p, base)
 register char *s, **p;
 register int base;
 {