From: Akim Demaille Date: Thu, 3 Jan 2002 09:27:34 +0000 (+0000) Subject: * lib/quotearg.c: Use `#include "..."' instead of `#include <...>' X-Git-Tag: BISON-1_30i~3 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/1daed0de8a1274963368e52a23146fff2cb98313 * lib/quotearg.c: Use `#include "..."' instead of `#include <...>' for non system headers. --- diff --git a/ChangeLog b/ChangeLog index f24b35b2..973e094d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-01-03 Akim Demaille + + * lib/quotearg.c: Use `#include "..."' instead of `#include <...>' + for non system headers. + 2001-12-27 Paul Eggert * src/bison.simple (YYSTACK_ALLOC, YYSIZE_T): Remove special diff --git a/lib/quote.c b/lib/quote.c index 0ce935cb..3cbc0805 100644 --- a/lib/quote.c +++ b/lib/quote.c @@ -1,3 +1,20 @@ +/* quote.c - quote arguments for output + Copyright (C) 1998, 1999, 2000, 2001 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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + /* Written by Paul Eggert */ #if HAVE_CONFIG_H @@ -8,8 +25,8 @@ # include /* For the definition of size_t on windows w/MSVC. */ #endif #include -#include -#include +#include "quotearg.h" +#include "quote.h" /* Return an unambiguous printable representated, allocated in slot N, for NAME, suitable for diagnostics. */ diff --git a/lib/quote.h b/lib/quote.h index 5de896bd..c750b1e7 100644 --- a/lib/quote.h +++ b/lib/quote.h @@ -1,4 +1,20 @@ -/* prototypes for quote.c */ +/* quote.h - prototypes for quote.c + Copyright (C) 1998, 1999, 2000, 2001 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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #ifndef PARAMS # if defined PROTOTYPES || (defined __STDC__ && __STDC__) diff --git a/lib/quotearg.c b/lib/quotearg.c index 58df4e2e..a32bf533 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -25,8 +25,8 @@ # include /* For the definition of size_t on windows w/MSVC. */ #endif #include -#include -#include +#include "quotearg.h" +#include "xalloc.h" #include