--- gforth/Attic/forth.h 1995/10/11 19:39:33 1.16 +++ gforth/Attic/forth.h 1995/11/07 18:06:40 1.19 @@ -1,8 +1,23 @@ -/* - Copyright 1992 by the ANSI figForth Development Group -*/ +/* common header file + + Copyright (C) 1995 Free Software Foundation, Inc. + + This file is part of Gforth. -/* common header file */ + Gforth 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 (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, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ typedef void *Label; @@ -65,7 +80,7 @@ Label *engine(Xt *ip, Cell *sp, Cell *rp #endif #ifdef DEBUG -# define NAME(string) fprintf(stderr,"%08x: "string"\n",(Cell)ip); +# define NAME(string) fprintf(stderr,"%08lx: "string"\n",(Cell)ip); #else # define NAME(string) #endif @@ -76,11 +91,11 @@ Label *engine(Xt *ip, Cell *sp, Cell *rp #ifndef FLUSH_ICACHE #warning flush-icache probably will not work (see manual) -# define FLUSH_ICACHE(addr,size) 0 +# define FLUSH_ICACHE(addr,size) #endif #ifdef DIRECT_THREADED #define CACHE_FLUSH(addr,size) FLUSH_ICACHE(addr,size) #else -#define CACHE_FLUSH(addr,size) 0 +#define CACHE_FLUSH(addr,size) #endif