MXS-2197 Rename all module include files from .h to .hh
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
#include <maxscale/alloc.h>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/modutil.hh>
|
||||
#include "mysqlhint.h"
|
||||
#include "mysqlhint.hh"
|
||||
|
||||
/**
|
||||
* hintfilter.c - a filter to parse the MaxScale hint syntax and attach those
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <maxscale/filter.hh>
|
||||
#include <maxscale/modinfo.h>
|
||||
#include <maxscale/modutil.hh>
|
||||
#include "mysqlhint.h"
|
||||
#include "mysqlhint.hh"
|
||||
#include <maxscale/alloc.h>
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,4 @@
|
||||
#pragma once
|
||||
#ifndef _MYSQLHINT_H
|
||||
#define _MYSQLHINT_H
|
||||
/*
|
||||
* Copyright (c) 2016 MariaDB Corporation Ab
|
||||
*
|
||||
@ -14,14 +12,7 @@
|
||||
* Public License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Revision History
|
||||
*
|
||||
* Date Who Description
|
||||
* 17-07-2014 Mark Riddoch Initial implementation
|
||||
*/
|
||||
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include <maxscale/hint.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
||||
@ -118,5 +109,3 @@ NAMEDHINTS* free_named_hint(NAMEDHINTS* named_hint);
|
||||
HINTSTACK* free_hint_stack(HINTSTACK* hint_stack);
|
||||
|
||||
MXS_END_DECLS
|
||||
|
||||
#endif
|
@ -15,9 +15,7 @@
|
||||
* @file maxrows.c - Result set limit Filter
|
||||
*/
|
||||
|
||||
#define MXS_MODULE_NAME "maxrows"
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
#include "maxrows.hh"
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
@ -34,8 +32,6 @@
|
||||
#include <maxscale/protocol/mysql.hh>
|
||||
#include <maxscale/query_classifier.h>
|
||||
|
||||
#include "maxrows.h"
|
||||
|
||||
static MXS_FILTER* createInstance(const char* name, MXS_CONFIG_PARAMETER*);
|
||||
static MXS_FILTER_SESSION* newSession(MXS_FILTER* instance,
|
||||
MXS_SESSION* session);
|
||||
|
@ -12,6 +12,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define MXS_MODULE_NAME "maxrows"
|
||||
|
||||
#include <maxscale/ccdefs.hh>
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
MXS_BEGIN_DECLS
|
Reference in New Issue
Block a user