Commit 2b8cb0bd authored by Eric Cano's avatar Eric Cano
Browse files

Replaced #ifdef based multiple include guards by #pragma once.

Fixed h/rfcntl.h which missed multiple inclusion guards entirely.
parent e25a0df9
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STGFILESDELETED_HPP
#define CASTOR_DB_CNV_STGFILESDELETED_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -340,4 +339,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STGFILESDELETED_HPP
......@@ -20,8 +20,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_SUBREQUEST_HPP
#define CASTOR_DB_CNV_SUBREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -300,4 +299,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_SUBREQUEST_HPP
......@@ -20,8 +20,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_SVCCLASS_HPP
#define CASTOR_DB_CNV_SVCCLASS_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -276,4 +275,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_SVCCLASS_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_TAPE2DRIVEDEDICATION_HPP
#define CASTOR_DB_CNV_TAPE2DRIVEDEDICATION_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -279,4 +278,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_TAPE2DRIVEDEDICATION_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_TAPEACCESSSPECIFICATION_HPP
#define CASTOR_DB_CNV_TAPEACCESSSPECIFICATION_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -279,4 +278,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_TAPEACCESSSPECIFICATION_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_TAPEDRIVE_HPP
#define CASTOR_DB_CNV_TAPEDRIVE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -474,4 +473,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_TAPEDRIVE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_TAPEDRIVECOMPATIBILITY_HPP
#define CASTOR_DB_CNV_TAPEDRIVECOMPATIBILITY_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -299,4 +298,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_TAPEDRIVECOMPATIBILITY_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_TAPEDRIVEDEDICATION_HPP
#define CASTOR_DB_CNV_TAPEDRIVEDEDICATION_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -279,4 +278,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_TAPEDRIVEDEDICATION_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_TAPEREQUEST_HPP
#define CASTOR_DB_CNV_TAPEREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -443,4 +442,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_TAPEREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_TAPESERVER_HPP
#define CASTOR_DB_CNV_TAPESERVER_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -302,4 +301,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_TAPESERVER_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_VDQMTAPE_HPP
#define CASTOR_DB_CNV_VDQMTAPE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -278,4 +277,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_VDQMTAPE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_VERSIONQUERY_HPP
#define CASTOR_DB_CNV_VERSIONQUERY_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -342,4 +341,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_VERSIONQUERY_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_VOLUMEPRIORITY_HPP
#define CASTOR_DB_CNV_VOLUMEPRIORITY_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -242,4 +241,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_VOLUMEPRIORITY_HPP
......@@ -23,8 +23,7 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef ORA_DLFINIT_HPP
#define ORA_DLFINIT_HPP 1
#pragma once
namespace castor {
......@@ -49,4 +48,3 @@ namespace castor {
} // namespace castor
#endif // ORA_DLFINIT_HPP
......@@ -23,8 +23,7 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef CASTOR_ORACNVSVC_HPP
#define CASTOR_ORACNVSVC_HPP 1
#pragma once
// Include Files
#include "occi.h"
......@@ -171,4 +170,3 @@ namespace castor {
} // end of namespace castor
#endif // CASTOR_ORACNVSVC_HPP
......@@ -23,8 +23,7 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef ORA_ORACOMMONSVC_HPP
#define ORA_ORACOMMONSVC_HPP 1
#pragma once
// Include Files
#include "castor/BaseSvc.hpp"
......@@ -134,4 +133,3 @@ namespace castor {
} // end of namespace castor
#endif // ORA_ORACOMMONSVC_HPP
......@@ -23,8 +23,7 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef ORA_ORAGCSVC_HPP
#define ORA_ORAGCSVC_HPP 1
#pragma once
// Include Files
#include "castor/db/ora/OraCommonSvc.hpp"
......@@ -196,4 +195,3 @@ namespace castor {
} // end of namespace castor
#endif // ORA_ORAGCSVC_HPP
......@@ -23,8 +23,7 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef ORA_ORAJOBSVC_HPP
#define ORA_ORAJOBSVC_HPP 1
#pragma once
// Include Files
#include "castor/BaseSvc.hpp"
......@@ -264,4 +263,3 @@ namespace castor {
} // end of namespace castor
#endif // ORA_ORAJOBSVC_HPP
......@@ -23,8 +23,7 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef ORA_ORAQUERYSVC_HPP
#define ORA_ORAQUERYSVC_HPP 1
#pragma once
// Include Files
#include "castor/BaseSvc.hpp"
......@@ -254,4 +253,3 @@ namespace castor {
} // end of namespace castor
#endif // ORA_ORAQUERYSVC_HPP
......@@ -23,8 +23,7 @@
* @author Sebastien Ponce
*****************************************************************************/
#ifndef ORA_ORARHSVC_HPP
#define ORA_ORARHSVC_HPP 1
#pragma once
// Include Files
#include "castor/db/ora/OraCommonSvc.hpp"
......@@ -396,4 +395,3 @@ namespace castor {
} // end of namespace castor
#endif // ORA_ORARHSVC_HPP
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment