From f16b80e038c7fa68efcdf60dfd9f02fe5f74da5f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 16 Jul 1996 04:44:29 +0000 Subject: [PATCH] Update FSF address. Remove trailing blanks. --- lib/posixtm.y | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/lib/posixtm.y b/lib/posixtm.y index bb5b40e75..947f594d2 100644 --- a/lib/posixtm.y +++ b/lib/posixtm.y @@ -12,28 +12,50 @@ 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. */ + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Written by Jim Kingdon and David MacKenzie. */ %{ + +#ifdef HAVE_CONFIG_H +#include +#endif + +/* The following block of alloca-related preprocessor directives is here + solely to allow compilation by non GNU-C compilers of the C parser + produced from this file by old versions of bison. Newer versions of + bison include a block similar to this one in bison.simple. */ + #ifdef __GNUC__ #define alloca __builtin_alloca #else -#ifdef sparc +#ifdef HAVE_ALLOCA_H #include #else #ifdef _AIX #pragma alloca #else -char *alloca (); +void *alloca (); #endif #endif #endif #include #include + +#ifdef TM_IN_SYS_TIME +#include +#else #include +#endif + +/* Some old versions of bison generate parsers that use bcopy. + That loses on systems that don't provide the function, so we have + to redefine it here. */ +#if !defined (HAVE_BCOPY) && defined (HAVE_MEMCPY) && !defined (bcopy) +#define bcopy(from, to, len) memcpy ((to), (from), (len)) +#endif #define YYDEBUG 1 -- 2.11.0