From: Martin Quinson Date: Sun, 2 Nov 2014 00:03:04 +0000 (+0100) Subject: Rename smx_user to libsmx (to mimick libc/smx) X-Git-Tag: v3_12~732^2~256 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/1d8f0c4dd4000a44d53f4ba97bd2a657deb18213 Rename smx_user to libsmx (to mimick libc/smx) --- diff --git a/buildtools/Cmake/DefinePackages.cmake b/buildtools/Cmake/DefinePackages.cmake index 0052fd15ec..ad84be8bac 100644 --- a/buildtools/Cmake/DefinePackages.cmake +++ b/buildtools/Cmake/DefinePackages.cmake @@ -362,6 +362,7 @@ set(SIMIX_GENERATED_SRC src/simix/popping_generated.c ) set(SIMIX_SRC + src/simix/libsmx.c src/simix/smx_context.c src/simix/smx_context_base.c src/simix/smx_context_raw.c @@ -373,7 +374,6 @@ set(SIMIX_SRC src/simix/smx_network.c src/simix/smx_process.c src/simix/smx_synchro.c - src/simix/smx_user.c src/simix/smx_vm.c src/simix/popping.c ${SIMIX_GENERATED_SRC} diff --git a/src/simix/smx_user.c b/src/simix/libsmx.c similarity index 98% rename from src/simix/smx_user.c rename to src/simix/libsmx.c index 8d80aa3d0f..07bf397190 100644 --- a/src/simix/smx_user.c +++ b/src/simix/libsmx.c @@ -1,10 +1,14 @@ -/* smx_user.c - public interface to simix */ +/* libsmx.c - public interface to simix */ +/* -------- */ +/* These functions are the only ones that are visible from the higher levels */ +/* (most of them simply add some documentation to the generated simcall body) */ +/* */ +/* This is somehow the "libc" of SimGrid */ -/* Copyright (c) 2010-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2010-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. */ + * under the terms of the license (GNU LGPL) which comes with this package. */ #include "smx_private.h" #include "mc/mc_interface.h"