From 1780e725284cf6a4b6dc3acf269b53bedc3923ed Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Sun, 21 Jan 2007 14:10:14 +0000 Subject: [PATCH] Fix a few warnings. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2774 --- src/cpu/core_dyn_x86.cpp | 2 +- src/cpu/core_dyn_x86/cache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu/core_dyn_x86.cpp b/src/cpu/core_dyn_x86.cpp index ebfa816b..fc342519 100644 --- a/src/cpu/core_dyn_x86.cpp +++ b/src/cpu/core_dyn_x86.cpp @@ -165,7 +165,7 @@ static struct { Bit32u readdata; } core_dyn; -struct { +static struct { Bit32u state[32]; FPU_P_Reg temp,temp2; Bit32u dh_fpu_enabled; diff --git a/src/cpu/core_dyn_x86/cache.h b/src/cpu/core_dyn_x86/cache.h index 41512c32..bd2b51ac 100644 --- a/src/cpu/core_dyn_x86/cache.h +++ b/src/cpu/core_dyn_x86/cache.h @@ -531,4 +531,4 @@ static void cache_close(void) { cache_code = NULL; cache_code_link_blocks = NULL; cache_initialized = false; */ -} \ No newline at end of file +}