From acd052f4e734a5580577a6462a6e08c0ea3b5509 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 5 Mar 2018 16:23:53 +0100 Subject: [PATCH] Remove unused typedefs. --- include/xbt/automaton.h | 3 +-- src/include/mc/datatypes.h | 3 +-- src/smpi/include/smpi_utils.hpp | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/include/xbt/automaton.h b/include/xbt/automaton.h index 2d0d94e837..a0f9013d79 100644 --- a/include/xbt/automaton.h +++ b/include/xbt/automaton.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011-2015. The SimGrid Team. +/* Copyright (c) 2011-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -55,7 +55,6 @@ typedef struct xbt_automaton_transition { typedef struct xbt_automaton_transition* xbt_automaton_transition_t; -typedef struct xbt_automaton_propositional_symbol s_xbt_automaton_propositional_symbol; typedef struct xbt_automaton_propositional_symbol* xbt_automaton_propositional_symbol_t; typedef int (*xbt_automaton_propositional_symbol_callback_type)(void*); diff --git a/src/include/mc/datatypes.h b/src/include/mc/datatypes.h index 401fca02dc..d145b558c7 100644 --- a/src/include/mc/datatypes.h +++ b/src/include/mc/datatypes.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-2018. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -25,7 +25,6 @@ struct s_stack_region{ int process_index; }; typedef struct s_stack_region s_stack_region_t; -typedef struct s_stack_region* stack_region_t; SG_END_DECL() diff --git a/src/smpi/include/smpi_utils.hpp b/src/smpi/include/smpi_utils.hpp index 972e2854b4..038a40b5f0 100644 --- a/src/smpi/include/smpi_utils.hpp +++ b/src/smpi/include/smpi_utils.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2016-2018. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -17,7 +17,6 @@ struct s_smpi_factor_t { size_t factor = 0; std::vector values; }; -typedef s_smpi_factor_t* smpi_os_factor_t; } XBT_PUBLIC(std::vector) parse_factor(std::string smpi_coef_string); -- 2.20.1