From 3476f0775980849d62d61410359f476e410f1b03 Mon Sep 17 00:00:00 2001 From: Robert Millan Date: Wed, 27 Dec 2017 12:04:04 -0800 Subject: [PATCH] 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. --- a56/a56.h | 22 ++++++++++++++++++++++ a56/main.c | 20 +++++++++++++++++++- a56/subs.c | 21 +++++++++++++++++++-- 3 files changed, 60 insertions(+), 3 deletions(-) mode change 100755 => 100644 a56/subs.c 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; { -- 2.31.1