1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-06-25 00:16:54 +02:00

Fix non-compliant formatting for function declarations.

Per review by Cynthia Shang.
This commit is contained in:
David Steele
2018-01-31 18:22:25 -05:00
parent b4d434b41c
commit 298b33988c
43 changed files with 130 additions and 61 deletions

View File

@ -10,7 +10,8 @@ Page data for testing -- use 8192 for page size since this is the most common va
// GCC doesn't like this elements of this array being used as both char * and struct * so wrap it in a function to disable the
// optimizations that cause warnings
unsigned char *testPage(int pageIdx)
unsigned char *
testPage(int pageIdx)
{
static unsigned char testPageBuffer[TEST_PAGE_TOTAL][TEST_PAGE_SIZE];
return testPageBuffer[pageIdx];
@ -19,7 +20,8 @@ unsigned char *testPage(int pageIdx)
/***********************************************************************************************************************************
Test Run
***********************************************************************************************************************************/
void testRun()
void
testRun()
{
// -----------------------------------------------------------------------------------------------------------------------------
if (testBegin("pageChecksum()"))