Cleanup header files
- All now include maxscale/cdefs.h as the very first file. - MXS_[BEGIN|END]_DECLS added to all C-headers. Strictly speaking not necessary for private headers, but does not hurt either. - Include guards moved to the very top of the file. - #pragma once added.
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _BLR_DEFINES_H
|
||||
#define _BLR_DEFINES_H
|
||||
/*
|
||||
@ -13,16 +14,19 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
/*
|
||||
/**
|
||||
* @file blr_defines.h - Various definitions for binlogrouter
|
||||
|
||||
* @verbatim
|
||||
* Revision History
|
||||
*
|
||||
* 26/04/16 Massimiliano Pinto Added MariaDB 10.0 and 10.1 GTID event flags detection
|
||||
* @endverbatim
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file blr_defines.h - Various definitions for binlogrouter
|
||||
*/
|
||||
#include <maxscale/cdefs.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
|
||||
#define BINLOG_FNAMELEN 255
|
||||
#define BLR_PROTOCOL "MySQLBackend"
|
||||
@ -201,4 +205,6 @@
|
||||
#define EXTRACT32(x) extract_field((x), 32)
|
||||
#endif
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user