X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5b3677b425b9cc6949c1573d59ac772540cbf4b2..41c803093e7108f16bfb4cc7e2c41c52104c73c2:/src/xbt/setset_private.h diff --git a/src/xbt/setset_private.h b/src/xbt/setset_private.h index 128db6364f..3099ed18d5 100644 --- a/src/xbt/setset_private.h +++ b/src/xbt/setset_private.h @@ -4,6 +4,7 @@ /* 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. */ +#include "xbt/base.h" #include "xbt/dict.h" #include "xbt/dynar.h" #include "xbt/setset.h" @@ -44,16 +45,16 @@ typedef struct s_xbt_setset_cursor { /* Some internal functions */ -int bitcount(int); +XBT_PRIVATE int bitcount(int); /* Get the object associated to a given index */ -void *_xbt_setset_idx_to_obj(xbt_setset_t setset, unsigned long idx); +XBT_PRIVATE void *_xbt_setset_idx_to_obj(xbt_setset_t setset, unsigned long idx); /* Check if the nth bit of an integer is set or not*/ -unsigned int _is_bit_set(unsigned int bit, unsigned int integer); +XBT_PRIVATE unsigned int _is_bit_set(unsigned int bit, unsigned int integer); /* Set the nth bit of an array of integers */ -void _set_bit(unsigned int bit, unsigned int *bitmap); +XBT_PRIVATE void _set_bit(unsigned int bit, unsigned int *bitmap); /* Unset the nth bit of an array of integers */ -void _unset_bit(unsigned int bit, unsigned int *bitmap); +XBT_PRIVATE void _unset_bit(unsigned int bit, unsigned int *bitmap);