Browse Source

Update include guard defines

pull/1/head
heck 3 years ago
parent
commit
77fbab86cc
  1. 6
      src/CountingSemaphore.hh
  2. 6
      src/Semaphore.hh
  3. 6
      src/call_with_lock.hh
  4. 6
      src/constant_time_algo.hh
  5. 6
      src/locked_queue.hh
  6. 6
      src/pEpLog.hh
  7. 6
      src/pc_container.hh
  8. 6
      src/std_utils.hh
  9. 6
      src/std_utils.hxx

6
src/CountingSemaphore.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_COUNTING_SEMAPHORE_HH
#define LIBPEPADAPTER_COUNTING_SEMAPHORE_HH
#ifndef LIBPEPCXX11_COUNTING_SEMAPHORE_HH
#define LIBPEPCXX11_COUNTING_SEMAPHORE_HH
#include <mutex>
#include <condition_variable>
@ -66,4 +66,4 @@ namespace pEp {
};
} // namespace pEp
#endif // LIBPEPADAPTER_COUNTING_SEMAPHORE_HH
#endif // LIBPEPCXX11_COUNTING_SEMAPHORE_HH

6
src/Semaphore.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_SEMAPHORE_HH
#define LIBPEPADAPTER_SEMAPHORE_HH
#ifndef LIBPEPCXX11_SEMAPHORE_HH
#define LIBPEPCXX11_SEMAPHORE_HH
#include <mutex>
#include <condition_variable>
@ -48,4 +48,4 @@ namespace pEp {
};
} // namespace pEp
#endif // LIBPEPADAPTER_SEMAPHORE_HH
#endif // LIBPEPCXX11_SEMAPHORE_HH

6
src/call_with_lock.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_CALL_WITH_LOCK_HH
#define LIBPEPADAPTER_CALL_WITH_LOCK_HH
#ifndef LIBPEPCXX11_CALL_WITH_LOCK_HH
#define LIBPEPCXX11_CALL_WITH_LOCK_HH
#include <mutex>
@ -23,4 +23,4 @@ namespace pEp {
} // namespace pEp
#endif // LIBPEPADAPTER_CALL_WITH_LOCK_HH
#endif // LIBPEPCXX11_CALL_WITH_LOCK_HH

6
src/constant_time_algo.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_CONSTANT_TIME_ALGO_HH
#define LIBPEPADAPTER_CONSTANT_TIME_ALGO_HH
#ifndef LIBPEPCXX11_CONSTANT_TIME_ALGO_HH
#define LIBPEPCXX11_CONSTANT_TIME_ALGO_HH
#include <string>
@ -16,4 +16,4 @@ namespace pEp {
} // end of namespace pEp
#endif // LIBPEPADAPTER_CONSTANT_TIME_ALGO_HH
#endif // LIBPEPCXX11_CONSTANT_TIME_ALGO_HH

6
src/locked_queue.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_LOCKED_QUEUE_HH
#define LIBPEPADAPTER_LOCKED_QUEUE_HH
#ifndef LIBPEPCXX11_LOCKED_QUEUE_HH
#define LIBPEPCXX11_LOCKED_QUEUE_HH
#include <deque>
#include <condition_variable>
@ -177,4 +177,4 @@ namespace utility {
} // end of namespace utility
#endif // LIBPEPADAPTER_LOCKED_QUEUE_HH
#endif // LIBPEPCXX11_LOCKED_QUEUE_HH

6
src/pEpLog.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_PEPLOG_HH
#define LIBPEPADAPTER_PEPLOG_HH
#ifndef LIBPEPCXX11_PEPLOG_HH
#define LIBPEPCXX11_PEPLOG_HH
// getpid
// Linux - unistd.h
@ -225,4 +225,4 @@ namespace pEp {
} // namespace pEp
#endif // LIBPEPADAPTER_PEPLOG_HH
#endif // LIBPEPCXX11_PEPLOG_HH

6
src/pc_container.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_PC_CONTAINER_HH
#define LIBPEPADAPTER_PC_CONTAINER_HH
#ifndef LIBPEPCXX11_PC_CONTAINER_HH
#define LIBPEPCXX11_PC_CONTAINER_HH
// Container adapter that contains a container and a producer/consume queue
// that holds references to all changed elements
@ -83,5 +83,5 @@ private:
};
} // end of namespace pEp
#endif // LIBPEPADAPTER_PC_CONTAINER_HH
#endif // LIBPEPCXX11_PC_CONTAINER_HH

6
src/std_utils.hh

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_STD_UTILS_HH
#define LIBPEPADAPTER_STD_UTILS_HH
#ifndef LIBPEPCXX11_STD_UTILS_HH
#define LIBPEPCXX11_STD_UTILS_HH
#include <string>
#include <exception>
@ -111,4 +111,4 @@ namespace pEp {
#include "std_utils.hxx"
#endif // LIBPEPADAPTER_STD_UTILS_HH
#endif // LIBPEPCXX11_STD_UTILS_HH

6
src/std_utils.hxx

@ -1,8 +1,8 @@
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#ifndef LIBPEPADAPTER_STD_UTILS_HXX
#define LIBPEPADAPTER_STD_UTILS_HXX
#ifndef LIBPEPCXX11_STD_UTILS_HXX
#define LIBPEPCXX11_STD_UTILS_HXX
#include <sstream>
#include <fstream>
@ -94,4 +94,4 @@ namespace pEp {
} // namespace Utils
} // namespace pEp
#endif // LIBPEPADAPTER_STD_UTILS_HXX
#endif // LIBPEPCXX11_STD_UTILS_HXX

Loading…
Cancel
Save