1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Fix "#include" directives in stand-alone C tests.

This commit is contained in:
Ludovic Courtès 2008-04-06 18:41:07 +02:00
parent 979eade651
commit 5995c6d801
7 changed files with 28 additions and 16 deletions

View file

@ -1,3 +1,11 @@
2008-04-06 Ludovic Courtès <ludo@gnu.org>
* standalone/test-asmobs-lib.c, standalone/test-conversion.c,
standalone/test-gh.c, standalone/test-list.c,
standalone/test-num2integral.c, standalone/test-round.c: Make
sure "config.h" is included first; use angle brackets for
<config.h> and <libguile.h>.
2008-03-13 Ludovic Courtès <ludo@gnu.org> 2008-03-13 Ludovic Courtès <ludo@gnu.org>
* standalone/Makefile.am (test_cflags): Add `-I' flags for * standalone/Makefile.am (test_cflags): Add `-I' flags for

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1999,2000,2001,2003, 2006 Free Software Foundation, Inc. /* Copyright (C) 1999,2000,2001,2003, 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -15,7 +15,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libguile.h" #include <libguile.h>
long asmob000; long asmob000;
long asmob100; long asmob100;

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1999,2000,2001,2003,2004, 2006, 2007 Free Software Foundation, Inc. /* Copyright (C) 1999,2000,2001,2003,2004, 2006, 2007, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -15,14 +15,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libguile.h" #if HAVE_CONFIG_H
# include <config.h>
#endif
#include <libguile.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include "config.h"
#ifdef HAVE_INTTYPES_H #ifdef HAVE_INTTYPES_H
# include <inttypes.h> # include <inttypes.h>
#elif (!defined PRIiMAX) #elif (!defined PRIiMAX)

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1999,2000,2001,2003, 2006 Free Software Foundation, Inc. /* Copyright (C) 1999,2000,2001,2003, 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -17,8 +17,8 @@
/* some bits originally by Jim Blandy <jimb@red-bean.com> */ /* some bits originally by Jim Blandy <jimb@red-bean.com> */
#include "libguile.h" #include <libguile.h>
#include "libguile/gh.h" #include <libguile/gh.h>
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>

View file

@ -1,6 +1,6 @@
/* test-list.c - exercise libguile/list.c functions */ /* test-list.c - exercise libguile/list.c functions */
/* Copyright (C) 2006 Free Software Foundation, Inc. /* Copyright (C) 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libguile.h" #include <libguile.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1999,2000,2001,2003,2004, 2006 Free Software Foundation, Inc. /* Copyright (C) 1999,2000,2001,2003,2004, 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -15,7 +15,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "libguile.h" #include <libguile.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2004, 2006 Free Software Foundation, Inc. /* Copyright (C) 2004, 2006, 2008 Free Software Foundation, Inc.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
@ -15,7 +15,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "config.h" #if HAVE_CONFIG_H
# include <config.h>
#endif
#include <assert.h> #include <assert.h>
#include <math.h> #include <math.h>
@ -25,7 +27,7 @@
#include <fenv.h> #include <fenv.h>
#endif #endif
#include "libguile.h" #include <libguile.h>
#define numberof(x) (sizeof (x) / sizeof ((x)[0])) #define numberof(x) (sizeof (x) / sizeof ((x)[0]))