mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
libga68: Include ga68.h before system headers
Make sure all declarations added by autoconf are seen by system headers. libga68/ChangeLog: * ga68-alloc.c: Include ga68.h before all includes. * ga68-error.c: Likewise. * ga68-standenv.c: Likewise. * ga68-unistr.c: Likewise. Signed-off-by: Pietro Monteiro <pietro@sociotechnical.xyz>
This commit is contained in:
@@ -20,9 +20,10 @@
|
||||
COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
/* Heap allocation routines. */
|
||||
|
||||
|
||||
@@ -20,10 +20,11 @@
|
||||
COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> /* For abort. */
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
/* Run-time error handling.
|
||||
|
||||
|
||||
@@ -20,9 +20,10 @@
|
||||
COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
#include <stdlib.h> /* For rand. */
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
/* Implementation of the standard prelude `random' function. */
|
||||
|
||||
|
||||
@@ -23,13 +23,14 @@
|
||||
/* The code in this file has been copied from the unistr gnulib module, written
|
||||
by Bruno Haible, and adapted to support strides. */
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
#include <stddef.h> /* For ptrdiff_t */
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "ga68.h"
|
||||
|
||||
/* CMP (n1, n2) performs a three-valued comparison on n1 vs. n2, where
|
||||
n1 and n2 are expressions without side effects, that evaluate to real
|
||||
|
||||
Reference in New Issue
Block a user