Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics: make #endif's comment match #ifndef.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 19 Jan 2020 20:49:47 +0000 (21:49 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 19 Jan 2020 20:49:47 +0000 (21:49 +0100)
12 files changed:
examples/s4u/app-bittorrent/s4u-tracker.hpp
examples/s4u/dht-kademlia/node.hpp
include/simgrid/s4u/Link.hpp
include/simgrid/version.h.in
include/xbt/ex.h
include/xbt/log.h
include/xbt/mallocator.h
src/bindings/java/JavaContext.hpp
src/kernel/activity/ActivityImpl.hpp
src/kernel/activity/SemaphoreImpl.hpp
src/surf/HostImpl.hpp
teshsuite/msg/app-bittorrent/tracker.h

index a69d8a6..08fd911 100644 (file)
@@ -4,8 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef BITTORRENT_TRACKER_HPP_
-#define BITTORRENT_TRACKER_HPP_
+#ifndef BITTORRENT_TRACKER_HPP
+#define BITTORRENT_TRACKER_HPP
 
 #include "s4u-bittorrent.hpp"
 #include <set>
 
 #include "s4u-bittorrent.hpp"
 #include <set>
index 504fe40..dc36ae2 100644 (file)
@@ -4,8 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _KADEMLIA_NODE_HPP
-#define _KADEMLIA_NODE_HPP
+#ifndef KADEMLIA_NODE_HPP
+#define KADEMLIA_NODE_HPP
 #include "answer.hpp"
 #include "message.hpp"
 #include "routing_table.hpp"
 #include "answer.hpp"
 #include "message.hpp"
 #include "routing_table.hpp"
@@ -40,4 +40,4 @@ public:
 unsigned int get_id_in_prefix(unsigned int id, unsigned int prefix);
 unsigned int get_node_prefix(unsigned int id, unsigned int nb_bits);
 
 unsigned int get_id_in_prefix(unsigned int id, unsigned int prefix);
 unsigned int get_node_prefix(unsigned int id, unsigned int nb_bits);
 
-#endif /* _MSG_EXAMPLES_ROUTING_H */
+#endif /* KADEMLIA_NODE_HPP */
index c2e6453..832bd3e 100644 (file)
@@ -3,8 +3,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef S4U_LINK_HPP_
-#define S4U_LINK_HPP_
+#ifndef S4U_LINK_HPP
+#define S4U_LINK_HPP
 
 #include <simgrid/forward.h>
 #include <simgrid/kernel/resource/Action.hpp>
 
 #include <simgrid/forward.h>
 #include <simgrid/kernel/resource/Action.hpp>
@@ -102,4 +102,4 @@ public:
 } // namespace s4u
 } // namespace simgrid
 
 } // namespace s4u
 } // namespace simgrid
 
-#endif /* SURF_NETWORK_INTERFACE_HPP_ */
+#endif /* S4U_LINK_HPP */
index 0a4875d..352988e 100644 (file)
@@ -32,4 +32,4 @@ SG_END_DECL
 
 #define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@"
 
 
 #define SIMGRID_VERSION_STRING "@SIMGRID_VERSION_STRING@"
 
-#endif /* SIMGRID_PUBLIC_CONFIG_H */
+#endif /* SIMGRID_VERSION_H */
index 32e31d7..963d9b6 100644 (file)
@@ -58,4 +58,4 @@ XBT_ATTRIB_NORETURN XBT_PUBLIC void xbt_throw_unimplemented(const char* file, in
 SG_END_DECL
 
 /** @} */
 SG_END_DECL
 
 /** @} */
-#endif                          /* __XBT_EX_H__ */
+#endif /* XBT_EX_H */
index d77ec59..888d028 100644 (file)
@@ -493,4 +493,4 @@ extern xbt_log_layout_t xbt_log_default_layout;
 #define XBT_HELP(...) XBT_CINFO(xbt_help, __VA_ARGS__)
 
 SG_END_DECL
 #define XBT_HELP(...) XBT_CINFO(xbt_help, __VA_ARGS__)
 
 SG_END_DECL
-#endif                          /* ! _XBT_LOG_H_ */
+#endif /* XBT_LOG_H */
index f99bc19..e6ba911 100644 (file)
@@ -51,4 +51,4 @@ XBT_PUBLIC void xbt_mallocator_initialization_is_done(int protect);
 /** @} */
 
 SG_END_DECL
 /** @} */
 
 SG_END_DECL
-#endif                          /* _XBT_MALLOCATOR_H */
+#endif /* XBT_MALLOCATOR_H */
index 432ccc5..5a7caf6 100644 (file)
@@ -51,4 +51,4 @@ XBT_PRIVATE void java_main_jprocess(jobject process);
 
 }}} // namespace simgrid::kernel::context
 
 
 }}} // namespace simgrid::kernel::context
 
-#endif                          /* !_XBT_CONTEXT_JAVA_H */
+#endif /* SIMGRID_JAVA_JAVA_CONTEXT_HPP */
index a6b84a6..c1c8de5 100644 (file)
@@ -3,8 +3,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef SIMGRID_KERNEL_ACTIVITY_ACTIVITY_HPP
-#define SIMGRID_KERNEL_ACTIVITY_ACTIVITY_HPP
+#ifndef SIMGRID_KERNEL_ACTIVITY_ACTIVITYIMPL_HPP
+#define SIMGRID_KERNEL_ACTIVITY_ACTIVITYIMPL_HPP
 
 #include <string>
 #include <list>
 
 #include <string>
 #include <list>
index 7a61019..361c7cf 100644 (file)
@@ -3,8 +3,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef SIMGRID_KERNEL_ACTIVITY_SEMAPHORE_HPP
-#define SIMGRID_KERNEL_ACTIVITY_SEMAPHORE_HPP
+#ifndef SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP
+#define SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP
 
 #include <atomic>
 #include <boost/intrusive/list.hpp>
 
 #include <atomic>
 #include <boost/intrusive/list.hpp>
@@ -51,4 +51,4 @@ public:
 } // namespace kernel
 } // namespace simgrid
 
 } // namespace kernel
 } // namespace simgrid
 
-#endif /* SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP_ */
+#endif /* SIMGRID_KERNEL_ACTIVITY_SEMAPHOREIMPL_HPP */
index 91cf35c..bb01090 100644 (file)
@@ -3,8 +3,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef SURF_HOST_INTERFACE_HPP_
-#define SURF_HOST_INTERFACE_HPP_
+#ifndef SURF_HOST_INTERFACE_HPP
+#define SURF_HOST_INTERFACE_HPP
 
 #include "src/kernel/actor/ActorImpl.hpp"
 #include "src/kernel/resource/DiskImpl.hpp"
 
 #include "src/kernel/actor/ActorImpl.hpp"
 #include "src/kernel/resource/DiskImpl.hpp"
@@ -87,4 +87,4 @@ public:
 
 XBT_PUBLIC_DATA simgrid::surf::HostModel* surf_host_model;
 
 
 XBT_PUBLIC_DATA simgrid::surf::HostModel* surf_host_model;
 
-#endif /* SURF_Host_INTERFACE_HPP_ */
+#endif /* SURF_HOST_INTERFACE_HPP */
index aaea20f..8975121 100644 (file)
@@ -4,8 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef BITTORRENT_TRACKER_H_
-#define BITTORRENT_TRACKER_H_
+#ifndef BITTORRENT_TRACKER_H
+#define BITTORRENT_TRACKER_H
 #include "bittorrent.h"
 #include <xbt/dynar.h>
 /**
 #include "bittorrent.h"
 #include <xbt/dynar.h>
 /**