PR29320, 'struct obstack' declared inside parameter list

PR 29320
	* frags.h: Move declaration of struct obstack..
	* as.h: ..to here.
This commit is contained in:
Alan Modra
2022-07-06 09:20:09 +09:30
parent 2025522ac7
commit 9b5ebf652b
2 changed files with 2 additions and 2 deletions

View File

@ -385,6 +385,8 @@ extern int max_macro_nest;
/* Verbosity level. */ /* Verbosity level. */
extern int verbose; extern int verbose;
struct obstack;
/* Obstack chunk size. Keep large for efficient space use, make small to /* Obstack chunk size. Keep large for efficient space use, make small to
increase malloc calls for monitoring memory allocation. */ increase malloc calls for monitoring memory allocation. */
extern int chunksize; extern int chunksize;

View File

@ -21,8 +21,6 @@
#ifndef FRAGS_H #ifndef FRAGS_H
#define FRAGS_H #define FRAGS_H
struct obstack;
/* A code fragment (frag) is some known number of chars, followed by some /* A code fragment (frag) is some known number of chars, followed by some
unknown number of chars. Typically the unknown number of chars is an unknown number of chars. Typically the unknown number of chars is an
instruction address whose size is yet unknown. We always know the greatest instruction address whose size is yet unknown. We always know the greatest