qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6588] Add "static"


From: Blue Swirl
Subject: [Qemu-devel] [6588] Add "static"
Date: Tue, 10 Feb 2009 19:00:32 +0000

Revision: 6588
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6588
Author:   blueswir1
Date:     2009-02-10 19:00:31 +0000 (Tue, 10 Feb 2009)

Log Message:
-----------
Add "static"

Modified Paths:
--------------
    trunk/tcg/tcg.c
    trunk/tcg/tcg.h

Modified: trunk/tcg/tcg.c
===================================================================
--- trunk/tcg/tcg.c     2009-02-09 23:19:44 UTC (rev 6587)
+++ trunk/tcg/tcg.c     2009-02-10 19:00:31 UTC (rev 6588)
@@ -59,7 +59,7 @@
 static void patch_reloc(uint8_t *code_ptr, int type, 
                         tcg_target_long value, tcg_target_long addend);
 
-TCGOpDef tcg_op_defs[] = {
+static TCGOpDef tcg_op_defs[] = {
 #define DEF(s, n, copy_size) { #s, 0, 0, n, n, 0, copy_size },
 #define DEF2(s, iargs, oargs, cargs, flags) { #s, iargs, oargs, cargs, iargs + 
oargs + cargs, flags, 0 },
 #include "tcg-opc.h"

Modified: trunk/tcg/tcg.h
===================================================================
--- trunk/tcg/tcg.h     2009-02-09 23:19:44 UTC (rev 6587)
+++ trunk/tcg/tcg.h     2009-02-10 19:00:31 UTC (rev 6588)
@@ -390,8 +390,6 @@
     const char *args_ct_str[TCG_MAX_OP_ARGS];
 } TCGTargetOpDef;
 
-extern TCGOpDef tcg_op_defs[];
-
 void tcg_target_init(TCGContext *s);
 void tcg_target_qemu_prologue(TCGContext *s);
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]