diff -r 57c618273d5c -r bbf46f59e123 graphicscomposition/openwfcompositionengine/common/src/owfmemory.c --- a/graphicscomposition/openwfcompositionengine/common/src/owfmemory.c Thu Aug 19 11:11:18 2010 +0300 +++ b/graphicscomposition/openwfcompositionengine/common/src/owfmemory.c Tue Aug 31 16:31:06 2010 +0300 @@ -1,4 +1,5 @@ /* Copyright (c) 2009 The Khronos Group Inc. + * Portions copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies) * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the @@ -35,6 +36,8 @@ #include "owfmemory.h" #include "owfdebug.h" +#ifdef DEBUG + #define MAGIK 0x05EAF00D #define FENCE1 0xFACED00D #define FENCE2 0xFACE50FF @@ -52,12 +55,12 @@ } BLOCK; -#ifdef DEBUG + static void OWF_Memory_Shutdown(void); -#endif + static void OWF_Memory_LockUnlockManagedBlocks(OWFboolean lock) @@ -312,6 +315,7 @@ OWF_Memory_UnlockManagedBlocks(); } #endif +#endif #ifdef __cplusplus }