Patchwork [3/8] target-m68k: Rename helpers.h to helper.h

login
register
mail settings
Submitter Richard Henderson
Date Sept. 15, 2013, 12:03 a.m.
Message ID <1379203434-5680-4-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/274992/
State New
Headers show

Comments

Richard Henderson - Sept. 15, 2013, 12:03 a.m.
This brings the m68k target in line with all other targets.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-m68k/helper.c                | 2 +-
 target-m68k/{helpers.h => helper.h} | 0
 target-m68k/op_helper.c             | 2 +-
 target-m68k/translate.c             | 6 +++---
 4 files changed, 5 insertions(+), 5 deletions(-)
 rename target-m68k/{helpers.h => helper.h} (100%)
Stefan Weil - Sept. 15, 2013, 6:35 a.m.
Am 15.09.2013 02:03, schrieb Richard Henderson:
> This brings the m68k target in line with all other targets.
>
> Signed-off-by: Richard Henderson <rth@twiddle.net>
> ---
>  target-m68k/helper.c                | 2 +-
>  target-m68k/{helpers.h => helper.h} | 0
>  target-m68k/op_helper.c             | 2 +-
>  target-m68k/translate.c             | 6 +++---
>  4 files changed, 5 insertions(+), 5 deletions(-)
>  rename target-m68k/{helpers.h => helper.h} (100%)
>
> diff --git a/target-m68k/helper.c b/target-m68k/helper.c
> index 00a7a08..a508896 100644
> --- a/target-m68k/helper.c
> +++ b/target-m68k/helper.c
> @@ -21,7 +21,7 @@
>  #include "cpu.h"
>  #include "exec/gdbstub.h"
>  
> -#include "helpers.h"
> +#include "helper.h"
>  
>  #define SIGNBIT (1u << 31)
>  
> diff --git a/target-m68k/helpers.h b/target-m68k/helper.h
> similarity index 100%
> rename from target-m68k/helpers.h
> rename to target-m68k/helper.h
> diff --git a/target-m68k/op_helper.c b/target-m68k/op_helper.c
> index 30f7d8b..bbbfd7f 100644
> --- a/target-m68k/op_helper.c
> +++ b/target-m68k/op_helper.c
> @@ -17,7 +17,7 @@
>   * License along with this library; if not, see <http://www.gnu.org/licenses/>.
>   */
>  #include "cpu.h"
> -#include "helpers.h"
> +#include "helper.h"
>  
>  #if defined(CONFIG_USER_ONLY)
>  
> diff --git a/target-m68k/translate.c b/target-m68k/translate.c
> index 0be0a96..f31e48d 100644
> --- a/target-m68k/translate.c
> +++ b/target-m68k/translate.c
> @@ -23,9 +23,9 @@
>  #include "tcg-op.h"
>  #include "qemu/log.h"
>  
> -#include "helpers.h"
> +#include "helper.h"
>  #define GEN_HELPER 1
> -#include "helpers.h"
> +#include "helper.h"
>  
>  //#define DEBUG_DISPATCH 1
>  
> @@ -110,7 +110,7 @@ void m68k_tcg_init(void)
>      store_dummy = tcg_global_mem_new(TCG_AREG0, -8, "NULL");
>  
>  #define GEN_HELPER 2
> -#include "helpers.h"
> +#include "helper.h"
>  }
>  
>  static inline void qemu_assert(int cond, const char *msg)

Reviewed-by: Stefan Weil <sw@weilnetz.de>

Patch

diff --git a/target-m68k/helper.c b/target-m68k/helper.c
index 00a7a08..a508896 100644
--- a/target-m68k/helper.c
+++ b/target-m68k/helper.c
@@ -21,7 +21,7 @@ 
 #include "cpu.h"
 #include "exec/gdbstub.h"
 
-#include "helpers.h"
+#include "helper.h"
 
 #define SIGNBIT (1u << 31)
 
diff --git a/target-m68k/helpers.h b/target-m68k/helper.h
similarity index 100%
rename from target-m68k/helpers.h
rename to target-m68k/helper.h
diff --git a/target-m68k/op_helper.c b/target-m68k/op_helper.c
index 30f7d8b..bbbfd7f 100644
--- a/target-m68k/op_helper.c
+++ b/target-m68k/op_helper.c
@@ -17,7 +17,7 @@ 
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "cpu.h"
-#include "helpers.h"
+#include "helper.h"
 
 #if defined(CONFIG_USER_ONLY)
 
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 0be0a96..f31e48d 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -23,9 +23,9 @@ 
 #include "tcg-op.h"
 #include "qemu/log.h"
 
-#include "helpers.h"
+#include "helper.h"
 #define GEN_HELPER 1
-#include "helpers.h"
+#include "helper.h"
 
 //#define DEBUG_DISPATCH 1
 
@@ -110,7 +110,7 @@  void m68k_tcg_init(void)
     store_dummy = tcg_global_mem_new(TCG_AREG0, -8, "NULL");
 
 #define GEN_HELPER 2
-#include "helpers.h"
+#include "helper.h"
 }
 
 static inline void qemu_assert(int cond, const char *msg)