From: Arnaud Giersch Date: Tue, 21 Jan 2014 09:26:29 +0000 (+0100) Subject: Move declaration for smpi_global_size(). X-Git-Tag: v3_11_beta~142 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d0c83ad043bba19dd00a61c229bc1b3de22f40a5?hp=ad2e588c6af6cf84b18ba7c1c96f4f9785d93c28 Move declaration for smpi_global_size(). It is needed in smpi_cocci.h. --- diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 4b91260cdf..5fd5a7c651 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2013. The SimGrid Team. +/* Copyright (c) 2007-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -673,6 +673,7 @@ MPI_CALL(XBT_PUBLIC(int), MPI_Comm_get_parent,( MPI_Comm *parent)); //FIXME: End of all the not yet implemented stuff // smpi functions +XBT_PUBLIC(int) smpi_global_size(void); XBT_PUBLIC(MPI_Comm) smpi_process_comm_self(void); /* XBT_PUBLIC(void) smpi_exit(int); diff --git a/include/smpi/smpif.h.in b/include/smpi/smpif.h.in index e558101ad8..eea7f19f6f 100644 --- a/include/smpi/smpif.h.in +++ b/include/smpi/smpif.h.in @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2013. The SimGrid Team. +/* Copyright (c) 2007-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -19,7 +19,6 @@ XBT_PUBLIC_DATA(__thread int) smpi_current_rank; XBT_PUBLIC(int) smpi_process_argc(void); XBT_PUBLIC(int) smpi_process_getarg(integer* index, char* dst, ftnlen len); -XBT_PUBLIC(int) smpi_global_size(void); #define smpi_sample_local__(pi,pt) \ { \