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
......@@ -23,8 +23,7 @@
* @author castor dev team
*****************************************************************************/
#ifndef CASTOR_DB_DBPARAMSSVC_HPP
#define CASTOR_DB_DBPARAMSSVC_HPP 1
#pragma once
// Include files
#include <string>
......@@ -108,4 +107,3 @@ namespace castor {
} // end of namespace castor
#endif // CASTOR_DB_DBPARAMSSVC_HPP
......@@ -23,8 +23,7 @@
* @author Giuseppe Lo Presti, giuseppe.lopresti@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_IDBRESULTSET_HPP
#define CASTOR_DB_IDBRESULTSET_HPP
#pragma once
#include <string>
#include "osdep.h"
......@@ -75,5 +74,4 @@ namespace castor {
}
#endif // CASTOR_DB_IDBRESULTSET_HPP
......@@ -23,8 +23,7 @@
* @author Giuseppe Lo Presti, giuseppe.lopresti@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_IDBSTATEMENT_HPP
#define CASTOR_DB_IDBSTATEMENT_HPP
#pragma once
#include <string>
#include <vector>
......@@ -113,4 +112,3 @@ namespace castor {
}
#endif // CASTOR_DB_IDBSTATEMENT_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_BWUSER_HPP
#define CASTOR_DB_CNV_BWUSER_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -280,4 +279,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_BWUSER_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_BASEADDRESS_HPP
#define CASTOR_DB_CNV_BASEADDRESS_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -242,4 +241,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_BASEADDRESS_HPP
......@@ -23,8 +23,7 @@
* @author Giuseppe Lo Presti
*****************************************************************************/
#ifndef DB_DBBASECNV_HPP
#define DB_DBBASECNV_HPP 1
#pragma once
// Include files
#include "castor/IConverter.hpp"
......@@ -82,4 +81,3 @@ namespace castor {
} // end of namespace castor
#endif // DB_DBBASECNV_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_CHANGEPRIVILEGE_HPP
#define CASTOR_DB_CNV_CHANGEPRIVILEGE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -375,4 +374,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_CHANGEPRIVILEGE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_CLIENT_HPP
#define CASTOR_DB_CNV_CLIENT_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -242,4 +241,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_CLIENT_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_CLIENTIDENTIFICATION_HPP
#define CASTOR_DB_CNV_CLIENTIDENTIFICATION_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -243,4 +242,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_CLIENTIDENTIFICATION_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_DEVICEGROUPNAME_HPP
#define CASTOR_DB_CNV_DEVICEGROUPNAME_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -278,4 +277,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_DEVICEGROUPNAME_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_DISKPOOLQUERY_HPP
#define CASTOR_DB_CNV_DISKPOOLQUERY_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -306,4 +305,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_DISKPOOLQUERY_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_FILECLASS_HPP
#define CASTOR_DB_CNV_FILECLASS_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -278,4 +277,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_FILECLASS_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_FILES2DELETE_HPP
#define CASTOR_DB_CNV_FILES2DELETE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -306,4 +305,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_FILES2DELETE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_FILESDELETED_HPP
#define CASTOR_DB_CNV_FILESDELETED_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -340,4 +339,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_FILESDELETED_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_FILESDELETIONFAILED_HPP
#define CASTOR_DB_CNV_FILESDELETIONFAILED_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -341,4 +340,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_FILESDELETIONFAILED_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_FIRSTBYTEWRITTEN_HPP
#define CASTOR_DB_CNV_FIRSTBYTEWRITTEN_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -307,4 +306,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_FIRSTBYTEWRITTEN_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_GCFILE_HPP
#define CASTOR_DB_CNV_GCFILE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -273,4 +272,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_GCFILE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_GCLOCALFILE_HPP
#define CASTOR_DB_CNV_GCLOCALFILE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -242,4 +241,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_GCLOCALFILE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_GETUPDATEDONE_HPP
#define CASTOR_DB_CNV_GETUPDATEDONE_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -306,4 +305,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_GETUPDATEDONE_HPP
......@@ -22,8 +22,7 @@
* @author Castor Dev team, castor-dev@cern.ch
*****************************************************************************/
#ifndef CASTOR_DB_CNV_GETUPDATEFAILED_HPP
#define CASTOR_DB_CNV_GETUPDATEFAILED_HPP
#pragma once
// Include Files
#include "castor/Constants.hpp"
......@@ -306,4 +305,3 @@ namespace castor {
} /* end of namespace castor */
#endif // CASTOR_DB_CNV_GETUPDATEFAILED_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