From d0c83ad043bba19dd00a61c229bc1b3de22f40a5 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 21 Jan 2014 10:26:29 +0100 Subject: [PATCH] Move declaration for smpi_global_size(). It is needed in smpi_cocci.h. --- include/smpi/smpi.h | 3 ++- include/smpi/smpif.h.in | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) 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) \ { \ -- 2.20.1