Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Use unsigned char* for smpi buffers.
[simgrid.git] / src / smpi / internals / smpi_dvfs.cpp
index c490f82..85a4cc1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2018. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2019. 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. */
@@ -75,17 +75,7 @@ typedef int integer;
 #else
 typedef long int integer;
 #endif
-typedef char *address;
-typedef float real;
 typedef double doublereal;
-struct complex {
-  real r;
-  real i;
-};
-struct doublecomplex {
-  doublereal r;
-  doublereal i;
-};
 
 extern "C" XBT_PUBLIC doublereal smpi_get_host_power_peak_at_(integer* pstate_index);
 doublereal smpi_get_host_power_peak_at_(integer *pstate_index)