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_GETUPDATESTARTREQUEST_HPP
#define CASTOR_DB_CNV_GETUPDATESTARTREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -307,4 +306,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_GETUPDATESTARTREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_LISTPRIVILEGES_HPP
#define CASTOR_DB_CNV_LISTPRIVILEGES_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -306,4 +305,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_LISTPRIVILEGES_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_MOVERCLOSEREQUEST_HPP
#define CASTOR_DB_CNV_MOVERCLOSEREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -307,4 +306,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_MOVERCLOSEREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_NSFILEID_HPP
#define CASTOR_DB_CNV_NSFILEID_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -280,4 +279,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_NSFILEID_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_NSFILESDELETED_HPP
#define CASTOR_DB_CNV_NSFILESDELETED_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -340,4 +339,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_NSFILESDELETED_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_PUTFAILED_HPP
#define CASTOR_DB_CNV_PUTFAILED_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -306,4 +305,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_PUTFAILED_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_PUTSTARTREQUEST_HPP
#define CASTOR_DB_CNV_PUTSTARTREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -306,4 +305,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_PUTSTARTREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_QUERYPARAMETER_HPP
#define CASTOR_DB_CNV_QUERYPARAMETER_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -273,4 +272,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_QUERYPARAMETER_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_REQUESTTYPE_HPP
#define CASTOR_DB_CNV_REQUESTTYPE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -280,4 +279,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_REQUESTTYPE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_SETFILEGCWEIGHT_HPP
#define CASTOR_DB_CNV_SETFILEGCWEIGHT_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -335,4 +334,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_SETFILEGCWEIGHT_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEABORTREQUEST_HPP
#define CASTOR_DB_CNV_STAGEABORTREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -364,4 +363,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEABORTREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEFILEQUERYREQUEST_HPP
#define CASTOR_DB_CNV_STAGEFILEQUERYREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -343,4 +342,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEFILEQUERYREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEGETREQUEST_HPP
#define CASTOR_DB_CNV_STAGEGETREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -335,4 +334,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEGETREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEPREPARETOGETREQUEST_HPP
#define CASTOR_DB_CNV_STAGEPREPARETOGETREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -336,4 +335,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEPREPARETOGETREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEPREPARETOPUTREQUEST_HPP
#define CASTOR_DB_CNV_STAGEPREPARETOPUTREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -336,4 +335,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEPREPARETOPUTREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEPREPARETOUPDATEREQUEST_HPP
#define CASTOR_DB_CNV_STAGEPREPARETOUPDATEREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -336,4 +335,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEPREPARETOUPDATEREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEPUTDONEREQUEST_HPP
#define CASTOR_DB_CNV_STAGEPUTDONEREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -359,4 +358,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEPUTDONEREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEPUTREQUEST_HPP
#define CASTOR_DB_CNV_STAGEPUTREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -335,4 +334,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEPUTREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGERMREQUEST_HPP
#define CASTOR_DB_CNV_STAGERMREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -335,4 +334,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGERMREQUEST_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_STAGEUPDATEREQUEST_HPP
#define CASTOR_DB_CNV_STAGEUPDATEREQUEST_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -336,4 +335,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_STAGEUPDATEREQUEST_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