Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change xbt_strdup, xbt_malloc, xbt_malloc0 and xbt_realloc from macro to inline funct...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 27 Feb 2005 23:53:41 +0000 (23:53 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 27 Feb 2005 23:53:41 +0000 (23:53 +0000)
commitfe36671bd9796b7c10d67c261d3f362254127e5b
tree45f20ab6c9ac23b58da4df05fd8fad62005693af
parent973dff599bf52fd0c48e5186226355e9819e1236
Change xbt_strdup, xbt_malloc, xbt_malloc0 and xbt_realloc from macro to inline functions. It shouldn't change anything in generated code, and that way, we don't have to use the 'malloc(n)?:die' construct, which troubles splint. Less macro should also make Oli happy, for example. Also move the gcc attribute wrapper to another file to kill circular dependencies

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1099 48e7efb5-ca39-0410-a469-dd3cf9ba447f
include/xbt/sysdep.h