1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

replace header guards with #pragma once

This commit is contained in:
Leonid Fedorov
2021-12-14 20:06:05 +03:00
parent ab449ebcc0
commit 01f3ceb437
638 changed files with 638 additions and 1914 deletions

View File

@ -34,8 +34,7 @@
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
#pragma once
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype
@ -79,7 +78,6 @@ typedef union YYSTYPE
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE qfelval;

View File

@ -1,5 +1,4 @@
#ifndef QFE_CSEPUTILS_H__
#define QFE_CSEPUTILS_H__
#pragma once
#include <string>
@ -42,5 +41,4 @@ void updateParseTree(boost::shared_ptr<execplan::CalpontSystemCatalog>&,
} //namespace qfe::utils
} //namespace qfe
#endif

View File

@ -1,5 +1,4 @@
#ifndef QFE_DDLSTMTS_H__
#define QFE_DDLSTMTS_H__
#pragma once
#include <unistd.h>
#include <string>
@ -10,5 +9,4 @@ void processCreateStmt(const std::string&, uint32_t);
void processDropStmt(const std::string&, uint32_t);
}
#endif

View File

@ -1,5 +1,4 @@
#ifndef QFE_PARSEQUERY_H__
#define QFE_PARSEQUERY_H__
#pragma once
#include <unistd.h>
#include <string>
@ -13,4 +12,3 @@ execplan::CalpontSelectExecutionPlan* parseQuery(const std::string&, uint32_t);
}
#endif

View File

@ -1,5 +1,4 @@
#ifndef QFE_RETURNEDROWS_H__
#define QFE_RETURNEDROWS_H__
#pragma once
#include "socktype.h"
#include "messagequeue.h"
@ -11,5 +10,4 @@ void processReturnedRows(messageqcpp::MessageQueueClient*, SockType);
}
#endif

View File

@ -1,5 +1,4 @@
#ifndef QFE_SENDCSEP_H__
#define QFE_SENDCSEP_H__
#pragma once
#include "messagequeue.h"
#include "calpontselectexecutionplan.h"
@ -13,5 +12,4 @@ messageqcpp::MessageQueueClient* sendCSEP(execplan::CalpontSelectExecutionPlan*)
}
#endif

View File

@ -1,5 +1,4 @@
#ifndef QFE_SOCKETIO_H__
#define QFE_SOCKETIO_H__
#pragma once
#ifdef _MSC_VER
#define WIN32_LEAN_AND_MEAN
@ -32,5 +31,4 @@ void writeString(SockType, const std::string&);
} //namespace qfe::socketio
} //namespace qfe
#endif

View File

@ -1,5 +1,4 @@
#ifndef QFE_SOCKTYPE_H__
#define QFE_SOCKTYPE_H__
#pragma once
#ifdef _MSC_VER
#define WIN32_LEAN_AND_MEAN
@ -17,5 +16,4 @@ typedef int SockType;
#define SockWriteFcn qfe::socketio::writen
#endif
#endif