STAND BACK - NEWLINE POLICE

gcc spams warnings when newlines are not at the end of files.
reason: http://gcc.gnu.org/ml/gcc/2001-07/msg01120.html


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4582 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
bztdlinux 2009-11-15 22:26:39 +00:00
parent d28a1e06f5
commit f796d4d747
47 changed files with 47 additions and 47 deletions

View File

@ -273,4 +273,4 @@ void calc_balanceboard_state(struct wii_board_t *wb)
wb->x = (wb->tr+wb->br) - (wb->tl+wb->bl)/2.0f; wb->x = (wb->tr+wb->br) - (wb->tl+wb->bl)/2.0f;
wb->y = (wb->bl+wb->br) - (wb->tl+wb->tr)/2.0f; wb->y = (wb->bl+wb->br) - (wb->tl+wb->tr)/2.0f;
} }

View File

@ -284,4 +284,4 @@ void MemoryMap_Shutdown(const MemoryView *views, int num_views, u32 flags, MemAr
if (views[i].out_ptr_low) if (views[i].out_ptr_low)
*views[i].out_ptr_low = NULL; *views[i].out_ptr_low = NULL;
} }
} }

View File

@ -158,4 +158,4 @@ std::string MemUsage()
#else #else
return ""; return "";
#endif #endif
} }

View File

@ -833,4 +833,4 @@ bool CompareValues(u32 val1, u32 val2, int type)
return false; return false;
} }
} }
} // namespace ActionReplay } // namespace ActionReplay

View File

@ -246,4 +246,4 @@ void FrameUpdate()
} // Core } // Core
#endif // RERECORDING #endif // RERECORDING

View File

@ -443,4 +443,4 @@ void CEXIMemoryCard::DoState(PointerWrap &p)
slot = 1; slot = 1;
ExpansionInterface::ChangeDevice(slot, slot ? EXIDEVICE_MEMORYCARD_B : EXIDEVICE_MEMORYCARD_A, 0); ExpansionInterface::ChangeDevice(slot, slot ? EXIDEVICE_MEMORYCARD_B : EXIDEVICE_MEMORYCARD_A, 0);
#endif #endif
} }

View File

@ -310,4 +310,4 @@ public:
extern Jit64 jit; extern Jit64 jit;
#endif // _JIT_H #endif // _JIT_H
#endif // JITTEST #endif // JITTEST

View File

@ -164,4 +164,4 @@ namespace PowerPC
return res; return res;
} }
} }

View File

@ -57,4 +57,4 @@ namespace PowerPC
} }
#endif #endif

View File

@ -198,4 +198,4 @@ inline void SetXER_SO(int value) {
void UpdateFPRF(double dvalue); void UpdateFPRF(double dvalue);
#endif #endif

View File

@ -29,4 +29,4 @@ void ReadGC(std::string File);
void CheckFile(std::string File, int Size); void CheckFile(std::string File, int Size);
void FindFilename(u64 Offset); void FindFilename(u64 Offset);
} }

View File

@ -46,4 +46,4 @@ private:
} // namespace } // namespace
#endif #endif

View File

@ -121,4 +121,4 @@ static const char * Flag_Taiwan_xpm[] = {
" ", " ",
" ", " ",
" ", " ",
" "}; " "};

View File

@ -47,4 +47,4 @@ static const char *const Flag_Unknown_xpm[] = {
" ", " ",
" ", " ",
" ", " ",
" "}; " "};

View File

@ -54,4 +54,4 @@ void SetSamplerState(const BPCmd &bp);
void SetInterlacingMode(const BPCmd &bp); void SetInterlacingMode(const BPCmd &bp);
}; };
#endif // _BPFUNCTIONS_H #endif // _BPFUNCTIONS_H

View File

@ -412,4 +412,4 @@ void OpcodeDecoder_Run(bool skipped_frame)
while (FifoCommandRunnable()) while (FifoCommandRunnable())
DecodeSemiNop(); DecodeSemiNop();
} }
} }

View File

@ -113,4 +113,4 @@ public:
} }
}; };
#endif #endif

View File

@ -71,4 +71,4 @@ public:
static void EnableShader(GLuint Shader); static void EnableShader(GLuint Shader);
}; };
#endif // _VERTEXSHADERCACHE_H_ #endif // _VERTEXSHADERCACHE_H_

View File

@ -25,4 +25,4 @@
void InitBPMemory(); void InitBPMemory();
#endif #endif

View File

@ -24,4 +24,4 @@
#include "../../../Core/VideoCommon/Src/CPMemory.h" #include "../../../Core/VideoCommon/Src/CPMemory.h"
#endif #endif

View File

@ -297,4 +297,4 @@ namespace Clipper
screen[2] = projected[2] * wInverse + m_ViewOffset[2]; screen[2] = projected[2] * wInverse + m_ViewOffset[2];
} }
} }

View File

@ -43,4 +43,4 @@ namespace Clipper
} }
#endif #endif

View File

@ -167,4 +167,4 @@ namespace CommandProcessor
} // end of namespace CommandProcessor } // end of namespace CommandProcessor
#endif #endif

View File

@ -210,4 +210,4 @@ void OnFrameEnd()
} }
} }
} }

View File

@ -34,4 +34,4 @@ namespace DebugUtil
void DrawObjectBuffer(s16 x, s16 y, u8 *color, int buffer, const char *name); void DrawObjectBuffer(s16 x, s16 y, u8 *color, int buffer, const char *name);
} }
#endif #endif

View File

@ -105,4 +105,4 @@ namespace EfbCopy
} }
} }
} }
} }

View File

@ -29,4 +29,4 @@ namespace EfbCopy
} }
#endif #endif

View File

@ -542,4 +542,4 @@ namespace EfbInterface
return pass; return pass;
} }
} }

View File

@ -47,4 +47,4 @@ namespace EfbInterface
extern u8 efbColorTexture[EFB_WIDTH*EFB_HEIGHT*4]; // rgba format extern u8 efbColorTexture[EFB_WIDTH*EFB_HEIGHT*4]; // rgba format
} }
#endif #endif

View File

@ -294,4 +294,4 @@ void Run(u32 iBufferSize)
currentFunction(iBufferSize); currentFunction(iBufferSize);
} }
} }

View File

@ -59,4 +59,4 @@ namespace OpcodeDecoder
void Run(u32 iBufferSize); void Run(u32 iBufferSize);
} }
#endif #endif

View File

@ -46,4 +46,4 @@ namespace Rasterizer
static Slope TexSlopes[8][3]; static Slope TexSlopes[8][3];
} }
#endif #endif

View File

@ -47,4 +47,4 @@ public:
void SetupVertex(); void SetupVertex();
}; };
#endif #endif

View File

@ -73,4 +73,4 @@ public:
enum { RED_C, GRN_C, BLU_C, ALP_C }; enum { RED_C, GRN_C, BLU_C, ALP_C };
}; };
#endif #endif

View File

@ -26,4 +26,4 @@ namespace TextureEncoder
void Encode(u8 *dest_ptr); void Encode(u8 *dest_ptr);
} }
#endif #endif

View File

@ -27,4 +27,4 @@ namespace TextureSampler
} }
#endif #endif

View File

@ -34,4 +34,4 @@ namespace TransformUnit
void TransformTexCoord(const InputVertexData *src, OutputVertexData *dst); void TransformTexCoord(const InputVertexData *src, OutputVertexData *dst);
} }
#endif #endif

View File

@ -72,4 +72,4 @@ namespace VertexFormatConverter
dst->normal[i][2] = ((float*)src)[j + 2]; dst->normal[i][2] = ((float*)src)[j + 2];
} }
} }
} }

View File

@ -32,4 +32,4 @@ namespace VertexFormatConverter
void LoadNormal3_Float(InputVertexData *dst, u8 *src); void LoadNormal3_Float(InputVertexData *dst, u8 *src);
} }
#endif #endif

View File

@ -73,4 +73,4 @@ public:
}; };
#endif #endif

View File

@ -17,4 +17,4 @@
#include "NativeVertexFormat.h" #include "NativeVertexFormat.h"
#include "../../../Core/VideoCommon/Src/VertexLoader_Position.h" #include "../../../Core/VideoCommon/Src/VertexLoader_Position.h"

View File

@ -15,4 +15,4 @@
// Official SVN repository and contact information can be found at // Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/ // http://code.google.com/p/dolphin-emu/
#include "../../../Core/VideoCommon/Src/VideoCommon.h" #include "../../../Core/VideoCommon/Src/VideoCommon.h"

View File

@ -246,4 +246,4 @@ void LoadXFReg(u32 transferSize, u32 baseAddress, u32 *pData);
void LoadIndexedXF(u32 val, int array); void LoadIndexedXF(u32 val, int array);
#endif #endif

View File

@ -442,4 +442,4 @@ void Config::Save(int Slot)
iniFile.Save(FULL_CONFIG_DIR "IR Pointer.ini"); iniFile.Save(FULL_CONFIG_DIR "IR Pointer.ini");
//DEBUG_LOG(WIIMOTE, "Save()"); //DEBUG_LOG(WIIMOTE, "Save()");
} }

View File

@ -120,4 +120,4 @@ struct Config
}; };
extern Config g_Config; extern Config g_Config;
#endif // _PLUGIN_WIIMOTE_CONFIG_H #endif // _PLUGIN_WIIMOTE_CONFIG_H

View File

@ -293,4 +293,4 @@ void wiimote_decrypt(wiimote_key *key, u8 *data, int addr, u8 len)
{ {
for(int i = 0; i < len; i++, addr++) for(int i = 0; i < len; i++, addr++)
data[i] = (data[i] ^ key->sb[addr%8]) + key->ft[addr%8]; data[i] = (data[i] ^ key->sb[addr%8]) + key->ft[addr%8];
} }

View File

@ -370,4 +370,4 @@ wxBitmap PADConfigDialognJoy::CreateBitmapArea(int Max, int Diagonal)
dc.DrawPolygon(8, Points); dc.DrawPolygon(8, Points);
return bitmap; return bitmap;
} }