aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
diff options
context:
space:
mode:
authorMax Horn2003-10-03 13:53:46 +0000
committerMax Horn2003-10-03 13:53:46 +0000
commitaed27b35dd0ff860a80fb784c0fda00f58e87334 (patch)
tree168c571734d45c5e58afea60cc0c7c1b5003d407 /sword2/resman.cpp
parenta6cb5aa76b360abbe899c27a2bee81ab96c2e96e (diff)
downloadscummvm-rg350-aed27b35dd0ff860a80fb784c0fda00f58e87334.tar.gz
scummvm-rg350-aed27b35dd0ff860a80fb784c0fda00f58e87334.tar.bz2
scummvm-rg350-aed27b35dd0ff860a80fb784c0fda00f58e87334.zip
use C++ struct naming instead of typedefs -> this fixes (or works around, whatever you prefer to call it) the GCC_PACK problem in Doxygen
svn-id: r10569
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r--sword2/resman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index b67f097926..ac42f1988e 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -79,10 +79,10 @@ Sword2ResourceManager res_man; //declare the object global
#pragma START_PACK_STRUCTS
#endif
-typedef struct {
+struct _cd_inf {
uint8 clusterName[20]; // Null terminated cluster name.
uint8 cd; // Cd cluster is on and whether it is on the local drive or not.
-} GCC_PACK _cd_inf;
+} GCC_PACK;
#if !defined(__GNUC__)
#pragma END_PACK_STRUCTS