move typedefs from public header to private header
authorMatthias Braun <matze@braunis.de>
Wed, 22 Sep 2010 14:07:35 +0000 (14:07 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 22 Sep 2010 14:07:35 +0000 (14:07 +0000)
[r28012]

include/libfirm/be.h
ir/be/be_types.h
ir/be/begnuas.h

index 1a3a3b0..2c507c5 100644 (file)
@@ -146,9 +146,6 @@ FIRM_API asm_constraint_flags_t be_parse_asm_constraints(const char *constraints
  */
 FIRM_API int be_is_valid_clobber(const char *clobber);
 
-typedef struct be_main_env_t be_main_env_t;
-typedef struct be_options_t  be_options_t;
-
 #include "end.h"
 
 #endif
index 7153532..d1784e6 100644 (file)
@@ -77,4 +77,7 @@ typedef struct backend_info_t           backend_info_t;
 typedef struct sched_info_t             sched_info_t;
 typedef struct reg_out_info_t           reg_out_info_t;
 
+typedef struct be_main_env_t be_main_env_t;
+typedef struct be_options_t  be_options_t;
+
 #endif
index bf360d3..d1c0dc8 100644 (file)
@@ -28,7 +28,7 @@
 #define FIRM_BE_BEGNUAS_H
 
 #include <stdbool.h>
-#include "be.h"
+#include "be_types.h"
 #include "beemitter.h"
 
 typedef enum {
@@ -66,11 +66,9 @@ extern bool                 be_gas_emit_types;
  */
 extern char                 be_gas_elf_type_char;
 
-
 /**
  * Generate all entities.
  * @param main_env          the main backend environment
- * @param emit_commons      if non-zero, emit commons (non-local uninitialized entities)
  */
 void be_gas_emit_decls(const be_main_env_t *main_env);