Fix a warning.
authorZoltan Varga <vargaz@gmail.com>
Fri, 16 Apr 2010 19:15:13 +0000 (19:15 -0000)
committerZoltan Varga <vargaz@gmail.com>
Fri, 16 Apr 2010 19:15:13 +0000 (19:15 -0000)
svn path=/trunk/mono/; revision=155649

mono/mini/genmdesc.c

index 5df7c6b270c8fb24ef23c6cc873d9e222f5a1efc..7d34d3561a89e5460ba5b29a23ace680680025f2 100644 (file)
@@ -25,7 +25,7 @@ opnames[] = {
  * Duplicate this from helpers.c, so the opcode name array can be omitted when 
  * DISABLE_JIT is set.
  */
-const char*
+static const char*
 inst_name (int op) {
        if (op >= OP_LOAD && op <= OP_LAST)
                return opnames [op - OP_LOAD];