Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless typedef's from C++ files.
[simgrid.git] / src / simix / smx_synchro_private.hpp
index 8eb66a5..7349982 100644 (file)
@@ -52,19 +52,19 @@ private:
 }
 }
 
-typedef struct s_smx_cond {
-  s_smx_cond() : cond_(this) {}
+struct s_smx_cond_t {
+  s_smx_cond_t() : cond_(this) {}
 
   std::atomic_int_fast32_t refcount_{1};
   smx_mutex_t mutex   = nullptr;
   xbt_swag_t sleeping = nullptr; /* list of sleeping process */
   simgrid::s4u::ConditionVariable cond_;
-} s_smx_cond_t;
+};
 
-typedef struct s_smx_sem {
+struct s_smx_sem_t {
   unsigned int value;
   xbt_swag_t sleeping; /* list of sleeping process */
-} s_smx_sem_t;
+};
 
 XBT_PRIVATE void SIMIX_post_synchro(smx_activity_t synchro);
 XBT_PRIVATE void SIMIX_synchro_stop_waiting(smx_actor_t process, smx_simcall_t simcall);