1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Fix header exclusion defines that do not match the general pattern.

This commit is contained in:
David Steele 2018-04-03 13:35:56 -04:00
parent 93fdb98d15
commit 46b6be6d72
14 changed files with 30 additions and 26 deletions

View File

@ -38,6 +38,10 @@
<release-item> <release-item>
<p>Add <code>ASSERT()</code> that is preserved in production builds.</p> <p>Add <code>ASSERT()</code> that is preserved in production builds.</p>
</release-item> </release-item>
<release-item>
<p>Fix header exclusion defines that do not match the general pattern.</p>
</release-item>
</release-development-list> </release-development-list>
</release-core-list> </release-core-list>

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Cipher Header Cipher Header
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef CIPHER_H #ifndef CIPHER_CIPHER_H
#define CIPHER_H #define CIPHER_CIPHER_H
#include "common/type.h" #include "common/type.h"

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Random Header Random Header
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef RANDOM_H #ifndef CIPHER_RANDOM_H
#define RANDOM_H #define CIPHER_RANDOM_H
// Functions // Functions
void randomBytes(unsigned char *buffer, size_t size); void randomBytes(unsigned char *buffer, size_t size);

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Archive Push Command Archive Push Command
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef COMMAND_ARCHIVE_PUSH_H #ifndef COMMAND_ARCHIVE_PUSH_PUSH_H
#define COMMAND_ARCHIVE_PUSH_H #define COMMAND_ARCHIVE_PUSH_PUSH_H
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Functions Functions

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Common Command Routines Common Command Routines
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef COMMAND_H #ifndef COMMAND_COMMAND_H
#define COMMAND_H #define COMMAND_COMMAND_H
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Functions Functions

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Help Command Help Command
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef COMMAND_HELP_H #ifndef COMMAND_HELP_HELP_H
#define COMMAND_HELP_H #define COMMAND_HELP_HELP_H
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Functions Functions

View File

@ -3,8 +3,8 @@ Binary to String Encode/Decode
These high-level functions are preferred to the low-level functions for each encoding type in the encode subdirectory. These high-level functions are preferred to the low-level functions for each encoding type in the encode subdirectory.
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef ENCODE_H #ifndef COMMON_ENCODE_H
#define ENCODE_H #define COMMON_ENCODE_H
#include "common/type.h" #include "common/type.h"

View File

@ -3,8 +3,8 @@ Base64 Binary to String Encode/Decode
The high-level functions in encode.c should be used in preference to these low-level functions. The high-level functions in encode.c should be used in preference to these low-level functions.
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef BASE64_H #ifndef COMMON_ENCODE_BASE64_H
#define BASE64_H #define COMMON_ENCODE_BASE64_H
#include "common/type.h" #include "common/type.h"

View File

@ -34,8 +34,8 @@ gcc's -Wclobbered warnings are almost entirely useless for catching such issues.
IMPORTANT: Never call return from within any of the error-handling blocks. IMPORTANT: Never call return from within any of the error-handling blocks.
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef ERROR_H #ifndef COMMON_ERROR_H
#define ERROR_H #define COMMON_ERROR_H
#include <errno.h> #include <errno.h>
#include <setjmp.h> #include <setjmp.h>

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Memory Context Manager Memory Context Manager
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef MEM_CONTEXT_H #ifndef COMMON_MEMCONTEXT_H
#define MEM_CONTEXT_H #define COMMON_MEMCONTEXT_H
#include "common/error.h" #include "common/error.h"
#include "common/type.h" #include "common/type.h"

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
String List Handler String List Handler
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef COMMON_TYPE_STRING_LIST_H #ifndef COMMON_TYPE_STRINGLIST_H
#define COMMON_TYPE_STRING_LIST_H #define COMMON_TYPE_STRINGLIST_H
#include "common/type/string.h" #include "common/type/string.h"

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Variant List Handler Variant List Handler
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef COMMON_TYPE_VARIANT_LIST_H #ifndef COMMON_TYPE_VARIANTLIST_H
#define COMMON_TYPE_VARIANT_LIST_H #define COMMON_TYPE_VARIANTLIST_H
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Variant list type Variant list type

View File

@ -4,8 +4,8 @@ Command and Option Configuration
This module serves as a database for the configuration options. The configuration rules reside in config/define.c and This module serves as a database for the configuration options. The configuration rules reside in config/define.c and
config/parse.c sets the command and options and determines which options are valid for a command. config/parse.c sets the command and options and determines which options are valid for a command.
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef CONFIG_H #ifndef CONFIG_CONFIG_H
#define CONFIG_H #define CONFIG_CONFIG_H
#include "common/log.h" #include "common/log.h"
#include "common/type.h" #include "common/type.h"

View File

@ -1,8 +1,8 @@
/*********************************************************************************************************************************** /***********************************************************************************************************************************
Checksum Implementation for Data Pages Checksum Implementation for Data Pages
***********************************************************************************************************************************/ ***********************************************************************************************************************************/
#ifndef PAGE_CHECKSUM_H #ifndef POSTGRES_PAGECHECKSUM_H
#define PAGE_CHECKSUM_H #define POSTGRES_PAGECHECKSUM_H
#include "common/type.h" #include "common/type.h"