summaryrefslogtreecommitdiffstats
path: root/0016-fix-some-implicit-declaration-warnings.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2021-09-02 17:33:55 -0400
committerYaakov Selkowitz <yselkowi@redhat.com>2021-09-02 17:33:55 -0400
commit041920c9533fad4a517fe6f268ebbd3af2a903a7 (patch)
tree8bd6477a4b39d73a8121d7292ffad82591eacf41 /0016-fix-some-implicit-declaration-warnings.patch
parent58aad36b016765d2b651b9167f0a4caa6142d5f9 (diff)
downloadcygwin-gcc-041920c9533fad4a517fe6f268ebbd3af2a903a7.tar.gz
cygwin-gcc-041920c9533fad4a517fe6f268ebbd3af2a903a7.tar.xz
cygwin-gcc-041920c9533fad4a517fe6f268ebbd3af2a903a7.zip
cygwin-gcc 11.2.0
Diffstat (limited to '0016-fix-some-implicit-declaration-warnings.patch')
-rw-r--r--0016-fix-some-implicit-declaration-warnings.patch58
1 files changed, 0 insertions, 58 deletions
diff --git a/0016-fix-some-implicit-declaration-warnings.patch b/0016-fix-some-implicit-declaration-warnings.patch
deleted file mode 100644
index 0c0b4a2..0000000
--- a/0016-fix-some-implicit-declaration-warnings.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 9acb3806f55fe198543405988601fd90945f00ac Mon Sep 17 00:00:00 2001
-From: Jonathan Yong <10walls@gmail.com>
-Date: Sat, 28 Jun 2014 10:08:25 +0800
-Subject: [PATCH 16/21] fix some implicit declaration warnings
-
----
- libiberty/aclocal.m4 | 6 +++++-
- libiberty/configure | 3 +++
- 2 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/libiberty/aclocal.m4 b/libiberty/aclocal.m4
-index bf8a907..6b5e66c 100644
---- a/libiberty/aclocal.m4
-+++ b/libiberty/aclocal.m4
-@@ -15,6 +15,8 @@ AC_CACHE_CHECK([for working strncmp], ac_cv_func_strncmp_works,
- /* Test by Jim Wilson and Kaveh Ghazi.
- Check whether strncmp reads past the end of its string parameters. */
- #include <sys/types.h>
-+#include <string.h>
-+#include <stdlib.h>
-
- #ifdef HAVE_FCNTL_H
- #include <fcntl.h>
-@@ -147,7 +149,9 @@ if test $ac_cv_os_cray = yes; then
- fi
-
- AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
--[AC_TRY_RUN([find_stack_direction ()
-+[AC_TRY_RUN([
-+#include <stdlib.h>
-+find_stack_direction ()
- {
- static char *addr = 0;
- auto char dummy;
-diff --git a/libiberty/configure b/libiberty/configure
-index da2df4e..f8bb482 100755
---- a/libiberty/configure
-+++ b/libiberty/configure
-@@ -6390,6 +6390,7 @@ else
- else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h. */
-+#include <stdlib.h>
- find_stack_direction ()
- {
- static char *addr = 0;
-@@ -7200,6 +7201,8 @@ else
- /* Test by Jim Wilson and Kaveh Ghazi.
- Check whether strncmp reads past the end of its string parameters. */
- #include <sys/types.h>
-+#include <string.h>
-+#include <stdlib.h>
-
- #ifdef HAVE_FCNTL_H
- #include <fcntl.h>
---
-2.4.5
-