From 5666ba4cb7aa68ae1a1640d3e3c57aeba91f4b02 Mon Sep 17 00:00:00 2001 From: Frederic Suter Date: Fri, 5 Feb 2016 14:34:34 +0100 Subject: [PATCH] attempt to remove oudated coccinelle stuff --- include/smpi/smpi.h | 2 ++ src/smpi/patch_source.sh | 16 ---------------- 2 files changed, 2 insertions(+), 16 deletions(-) delete mode 100755 src/smpi/patch_source.sh 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} -- 2.20.1