From: Robert Millan Date: Wed, 27 Dec 2017 20:04:04 +0000 (-0800) Subject: a56: Add missing prototypes for alloc() and fixstring() X-Git-Tag: v1.1~20 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3476f0775980849d62d61410359f476e410f1b03;p=linux-libre-firmware.git a56: Add missing prototypes for alloc() and fixstring() This patch is incorporated from the Debian version of the package. There is a note that the Debian packaging is licensed under the GPL version 3 (or any later version.) While it may have been intended that only the Debian "packaging" falls under the GPLv3 (based on the wording) and not changes to the program code it calls out nothing separate for the patches, which are also contained in the Debian packaging, and so I am treating them as if the patches are also under the GPLv3+ and not the program's own license since that is the only permission statement available. --- diff --git a/a56/a56.h b/a56/a56.h index 474688b..8e38dfe 100644 --- a/a56/a56.h +++ b/a56/a56.h @@ -8,6 +8,25 @@ *******************************************************\ /* + * Copyright (C) 2008 Robert Millan + * + * 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 + * . + * + * 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 @@ -92,3 +111,6 @@ FILE *open_read(), *open_write(), *open_append(); #define ASSERT(expr, str) \ if(expr) fprintf(stderr, "ASSERT: %s: line %d: %s\n", __FILE__, __LINE__, str); + +char *alloc (int size); +char *fixstring (char *s); diff --git a/a56/main.c b/a56/main.c index e85f8a1..cc03c74 100644 --- a/a56/main.c +++ b/a56/main.c @@ -8,6 +8,25 @@ *******************************************************\ /* + * Copyright (C) 2008 Robert Millan + * + * 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 + * . + * + * 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 @@ -39,7 +58,6 @@ BOOL list_includes = FALSE; FILE *obj = NULL; extern BOOL list_on; BOOL list_on_next = TRUE; -char *alloc(); main(argc,argv) int argc; diff --git a/a56/subs.c b/a56/subs.c old mode 100755 new mode 100644 index a9e0b5e..f0e0b9d --- a/a56/subs.c +++ b/a56/subs.c @@ -8,6 +8,25 @@ *******************************************************\ /* + * Copyright (C) 2008 Robert Millan + * + * 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 + * . + * + * 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 +49,6 @@ static char *Copyright = "Copyright (C) 1990-1994 Quinn C. Jensen"; #define MAX 1024 -char *alloc(); - FILE *open_read(file) char *file; {