From: Frederic Suter Date: Fri, 5 Feb 2016 13:34:34 +0000 (+0100) Subject: attempt to remove oudated coccinelle stuff X-Git-Tag: v3_13~973^2~5 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5666ba4cb7aa68ae1a1640d3e3c57aeba91f4b02?hp=791a79648c2a7246c2a7f7d434d79987c4c3b39c attempt to remove oudated coccinelle stuff --- diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 4e9160e478..e83e56e0e2 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -898,6 +898,8 @@ XBT_PUBLIC(void) SMPI_app_instance_register(const char *name, xbt_main_func_t co XBT_PUBLIC(void) SMPI_init(void); XBT_PUBLIC(void) SMPI_finalize(void); +XBT_PUBLIC(void) smpi_register_static(void* arg, void_f_pvoid_t free_fn); +XBT_PUBLIC(void) smpi_free_static(void); diff --git a/src/smpi/patch_source.sh b/src/smpi/patch_source.sh deleted file mode 100755 index 38fd74593f..0000000000 --- a/src/smpi/patch_source.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -# Copyright (c) 2011, 2014. 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. - -INFILE="$1" -OUTFILE="$2" -SPFILE="replace_globals.cocci" -TMPFILE=`mktemp ${OUTFILE}.XXXX` - -trap "rm -f ${TMPFILE}" EXIT -spatch -sp_file ${SPFILE} ${INFILE} -o ${TMPFILE} >/dev/null 2>/dev/null -./fixsrc.pl < ${TMPFILE} > ${OUTFILE}