Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15039 > unrolled thread
| Started by | Eduardo A. Bustamante López <dualbus@gmail.com> |
|---|---|
| First post | 2019-01-04 12:25 -0800 |
| Last post | 2019-01-04 12:25 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
[PATCH 1/3] Fix implicit declaration of abort() Eduardo A. Bustamante López <dualbus@gmail.com> - 2019-01-04 12:25 -0800
| From | Eduardo A. Bustamante López <dualbus@gmail.com> |
|---|---|
| Date | 2019-01-04 12:25 -0800 |
| Subject | [PATCH 1/3] Fix implicit declaration of abort() |
| Message-ID | <mailman.6774.1546633580.1284.bug-bash@gnu.org> |
gcc version 8.2.0 (Debian 8.2.0-13) x86_64-linux-gnu ``` malloc.c:333:3: warning: incompatible implicit declaration of built-in function ‘abort’ malloc.c:333:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘abort’ ``` --- lib/malloc/malloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/malloc/malloc.c b/lib/malloc/malloc.c index 5621adf4..8f641036 100644 --- a/lib/malloc/malloc.c +++ b/lib/malloc/malloc.c @@ -83,6 +83,7 @@ #endif #include <errno.h> #include <stdio.h> +#include <stdlib.h> #if defined (HAVE_MMAP) #include <sys/mman.h> -- 2.20.1
Back to top | Article view | gnu.bash.bug
csiph-web