diff options
Diffstat (limited to 'bc/global.c')
-rw-r--r-- | bc/global.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/bc/global.c b/bc/global.c index 5d1205c..ebd6bcf 100644 --- a/bc/global.c +++ b/bc/global.c @@ -1,11 +1,10 @@ -/* global.c: This defines the global variables. */ - /* This file is part of GNU bc. - Copyright (C) 1991-1994, 1997, 2000 Free Software Foundation, Inc. + + Copyright (C) 1991-1994, 1997, 2006, 2008, 2012-2017 Free Software Foundation, Inc. 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 2 of the License , or + 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, @@ -14,10 +13,8 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; see the file COPYING. If not, write to - The Free Software Foundation, Inc. - 59 Temple Place, Suite 330 - Boston, MA 02111 USA + along with this program; see the file COPYING. If not, see + <http://www.gnu.org/licenses>. You may contact the author by: e-mail: philnelson@acm.org @@ -28,14 +25,13 @@ *************************************************************************/ -#include "bcdefs.h" +/* global.c: This defines the global variables. */ + +/* We are global.c ... so define and initialize variables here. */ -/* Since we want to define them here, we use the following define. */ -#undef EXTERN -#define EXTERN +#define _GLOBAL_C -/* Define all the global variables for bc. */ -#include "global.h" +#include "bcdefs.h" CONST char *libmath[] = #include "libmath.h" |