Fix Linux so that it compiles.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4827 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2011-07-25 10:24:05 +00:00
parent 1515949a98
commit 0b09b84526
2 changed files with 3 additions and 3 deletions

View File

@ -244,9 +244,9 @@ static const int __pagesize = PCSX2_PAGESIZE;
# define __fastcall __attribute__((fastcall))
# define _inline __inline__ __attribute__((unused))
# ifdef NDEBUG
# define __forceinline __attribute__((always_inline,unused)) inline
# define __forceinline __attribute__((always_inline,unused))
# else
# define __forceinline inline
# define __forceinline __attribute__((unused))
# endif
# define __noinline __attribute__((noinline))
# define __hot __attribute__((hot))

View File

@ -100,7 +100,7 @@ struct GS_SIGNAL {
void Reset() { memzero(*this); }
};
__fi void incTag(u32& offset, u32& size, u32 incAmount) {
static __fi void incTag(u32& offset, u32& size, u32 incAmount) {
size += incAmount;
offset += incAmount;
}