Move top of the file "#pragma once" to after the following comment (swap them). If the comment is a BPL update it to the latest one

This commit is contained in:
Niclas Antti
2018-08-21 13:13:15 +03:00
parent 03cefcc4ac
commit 24ab3c099c
204 changed files with 414 additions and 420 deletions

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>
#include <signal.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file atomic.h Atomic operations on integers.

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>
#include <jansson.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <stdexcept>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <stdexcept>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <maxbase/poll.hh>

View File

@ -1,9 +1,8 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl.
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2022-01-01
*
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>
#include <sys/epoll.h>

View File

@ -1,9 +1,8 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl.
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2022-01-01
*
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <maxbase/poll.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
/**
* @file semaphore.h Semaphores used by MaxScale.

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <cerrno>

View File

@ -1,4 +1,3 @@
#pragma once
/*
* Copyright (c) 2018 MariaDB Corporation Ab
*
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>
#include <unistd.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/cdefs.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxscale/cdefs.h>
#include <maxbase/poll.h>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>

View File

@ -1,6 +1,5 @@
#pragma once
/*
* Copyright (c) 2016 MariaDB Corporation Ab
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
@ -11,6 +10,7 @@
* of this software will be governed by version 2 or later of the General
* Public License.
*/
#pragma once
#include <maxbase/ccdefs.hh>