[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 72/86: Fix missing includes in tests.
From: |
Andy Wingo |
Subject: |
[Guile-commits] 72/86: Fix missing includes in tests. |
Date: |
Wed, 20 Jun 2018 14:09:43 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 55317a5dd31aaceee4ddf2f6ec1b15b14e32e2e8
Author: Andy Wingo <address@hidden>
Date: Wed Jun 20 15:01:14 2018 +0200
Fix missing includes in tests.
* test-suite/standalone/test-scm-c-read.c:
* test-suite/standalone/test-scm-to-latin1-string.c: Add <string.h>.
---
test-suite/standalone/test-scm-c-read.c | 5 +++--
test-suite/standalone/test-scm-to-latin1-string.c | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/test-suite/standalone/test-scm-c-read.c
b/test-suite/standalone/test-scm-c-read.c
index c4dbf62..7ba6533 100644
--- a/test-suite/standalone/test-scm-c-read.c
+++ b/test-suite/standalone/test-scm-c-read.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2008, 2014 Free Software Foundation, Inc.
+/* Copyright (C) 2008,2014,2018 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -25,8 +25,9 @@
#undef NDEBUG
-#include <libguile.h>
#include <assert.h>
+#include <string.h>
+#include <libguile.h>
diff --git a/test-suite/standalone/test-scm-to-latin1-string.c
b/test-suite/standalone/test-scm-to-latin1-string.c
index b8f0120..0b0a128 100644
--- a/test-suite/standalone/test-scm-to-latin1-string.c
+++ b/test-suite/standalone/test-scm-to-latin1-string.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2011,2018 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -21,8 +21,10 @@
# include <config.h>
#endif
-#include <libguile.h>
#include <stdlib.h>
+#include <string.h>
+
+#include <libguile.h>
/*
This outputs:
- [Guile-commits] 57/86: Shuffle around inline C function implementation, (continued)
- [Guile-commits] 57/86: Shuffle around inline C function implementation, Andy Wingo, 2018/06/20
- [Guile-commits] 62/86: Devolve foreign.h from _scm.h, Andy Wingo, 2018/06/20
- [Guile-commits] 63/86: Devolve programs.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 22/86: Devolve more validate macros, Andy Wingo, 2018/06/20
- [Guile-commits] 23/86: Remove includes of validate.h., Andy Wingo, 2018/06/20
- [Guile-commits] 56/86: Devolve variable.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 69/86: Move SCM_C_INLINE_KEYWORD definition to inline.h, Andy Wingo, 2018/06/20
- [Guile-commits] 70/86: Fix include in test-ffi-lib, Andy Wingo, 2018/06/20
- [Guile-commits] 68/86: Remove unneeded memmove.c and strerror.c files, Andy Wingo, 2018/06/20
- [Guile-commits] 64/86: Devolve strings.h, Andy Wingo, 2018/06/20
- [Guile-commits] 72/86: Fix missing includes in tests.,
Andy Wingo <=
- [Guile-commits] 60/86: Remove modules.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 75/86: Move SCM_TICK definition to __scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 74/86: Remove crufty support for 16-bit architectures., Andy Wingo, 2018/06/20
- [Guile-commits] 73/86: Deprecate pre-stdint.h limit macros, Andy Wingo, 2018/06/20
- [Guile-commits] 80/86: Rationalize guile-readline includes, Andy Wingo, 2018/06/20
- [Guile-commits] 61/86: Devolve symbols.h from _scm.h, Andy Wingo, 2018/06/20
- [Guile-commits] 76/86: Move SCM_ARG1, etc definitions to error.h, Andy Wingo, 2018/06/20
- [Guile-commits] 59/86: Devolve threads.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 44/86: Devolve numbers.h from _scm.h., Andy Wingo, 2018/06/20
- [Guile-commits] 71/86: Use stdint.h limit macros, Andy Wingo, 2018/06/20