1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -22,8 +22,7 @@
* *
***************************************************************************/
#ifndef BLOCKCACHEREQUESTCLIENT_H
#define BLOCKCACHEREQUESTCLIENT_H
#pragma once
#include "blockrequestprocessor.h"
#include "brmtypes.h"
@ -175,6 +174,5 @@ private:
}
#endif
// vim:ts=4 sw=4:

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef BLOCKREQUESTPROCESSOR_H
#define BLOCKREQUESTPROCESSOR_H
#pragma once
/***************************************************************************
*
@ -195,6 +194,5 @@ private:
};
}
#endif
// vim:ts=4 sw=4:

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef FILEBLOCKREQUESTQUEUE_H
#define FILEBLOCKREQUESTQUEUE_H
#pragma once
/***************************************************************************
*
@ -114,4 +113,3 @@ private:
};
}
#endif

View File

@ -23,8 +23,7 @@
* *
***************************************************************************/
#ifndef FILEBUFFER_H
#define FILEBUFFER_H
#pragma once
#include <stdio.h>
#include <stdlib.h>
@ -183,4 +182,3 @@ private:
typedef std::vector<FileBuffer> FileBufferPool_t;
}
#endif

View File

@ -22,8 +22,7 @@
* *
***************************************************************************/
#ifndef FILEBUFFERMGR_H
#define FILEBUFFERMGR_H
#pragma once
#include <iostream>
#include <fstream>
#include <iomanip>
@ -240,4 +239,3 @@ private:
};
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef FILEREQUEST_H
#define FILEREQUEST_H
#pragma once
/***************************************************************************
*
@ -324,6 +323,5 @@ private:
}
#endif
// vim:ts=4 sw=4:

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef FS_UTILS_H__
#define FS_UTILS_H__
#pragma once
#include <string>
@ -25,5 +24,4 @@ namespace fsutils
const std::string symname2devname(const std::string& sympath);
}
#endif

View File

@ -15,8 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA. */
#ifndef IOMANAGER_H
#define IOMANAGER_H
#pragma once
// $Id: iomanager.h 2145 2013-08-09 22:38:19Z wweeks $
//
// C++ Interface: iomanager
@ -163,5 +162,4 @@ void dropFDCache();
void purgeFDCache(std::vector<BRM::FileInfo>& files);
}
#endif
// vim:ts=4 sw=4:

View File

@ -21,8 +21,7 @@
/** @file */
#ifndef PRIMPROC_STATS_H
#define PRIMPROC_STATS_H
#pragma once
#ifndef _MSC_VER
#include <pthread.h>
@ -73,4 +72,3 @@ private:
}
#endif //PRIMPROC_STATS_H