Rename maxscale/cpp.hh to maxscale/cppdefs.hh
Just like every c-header must include maxscale/cdefs.h as the first file, every C++-header must include maxscale/cppdefs.hh as its first header.
This commit is contained in:
@ -13,9 +13,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file cpp.hh
|
||||
* @file cppdefs.hh
|
||||
*
|
||||
* Common stuff for C++ code.
|
||||
* This file is to be included first by all C++ headers.
|
||||
*/
|
||||
|
||||
#if !defined(__cplusplus)
|
@ -12,9 +12,8 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/cppdefs.hh>
|
||||
#include <maxscale/filter.h>
|
||||
#include <maxscale/cpp.hh>
|
||||
|
||||
namespace maxscale
|
||||
{
|
||||
|
@ -12,9 +12,8 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/cppdefs.hh>
|
||||
#include <maxscale/spinlock.h>
|
||||
#include <maxscale/cpp.hh>
|
||||
|
||||
namespace maxscale
|
||||
{
|
||||
|
Reference in New Issue
Block a user