From 08f2dc3f68176c5447d4cfc42ce92ef857e2372c Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sun, 30 Mar 2008 14:26:48 +0000 Subject: [PATCH] cleanups [r18294] --- include/libfirm/be.h | 4 ++-- include/libfirm/firm.h | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/include/libfirm/be.h b/include/libfirm/be.h index 42b5ac89d..202162a15 100644 --- a/include/libfirm/be.h +++ b/include/libfirm/be.h @@ -78,9 +78,9 @@ const backend_params *be_init(void); /** * Main interface to the frontend. */ -void be_main(FILE *file_handle, const char *cup_name); +void be_main(FILE *output, const char *compilation_unit_name); typedef struct be_main_env_t be_main_env_t; typedef struct be_options_t be_options_t; -#endif /* FIRM_BE_MAIN_H */ +#endif diff --git a/include/libfirm/firm.h b/include/libfirm/firm.h index 194b8538f..daec83ff5 100644 --- a/include/libfirm/firm.h +++ b/include/libfirm/firm.h @@ -113,11 +113,6 @@ extern "C" { #include "seqnumbers.h" /* debug support */ #include "firm_ycomp.h" /* ycomp debugging support */ - -/* @@@ temporarily for jni builder until preprocessor works. - Then it should be sufficient to include instead - of firm.h as not all enums are needed in the implementation - files. */ #include "irdump.h" #include "irprintf.h" #include "irvrfy.h" @@ -126,10 +121,6 @@ extern "C" { #include "iredges.h" -/* Macros that define the old function names we decided to rename. - Use for compatibility with old implementations. */ -/*#include "old_fctnames.h"*/ - /** * libFirm initialization parameters. */ -- 2.20.1