From: Philippe E. <ph...@us...> - 2003-11-04 15:03:59
|
Update of /cvsroot/oprofile/oprofile/libdb In directory sc8-pr-cvs1:/tmp/cvs-serv13912/libdb Modified Files: db_manage.c Log Message: -pedantic fix Index: db_manage.c =================================================================== RCS file: /cvsroot/oprofile/oprofile/libdb/db_manage.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -p -d -r1.12 -r1.13 --- db_manage.c 14 Oct 2003 19:27:37 -0000 1.12 +++ db_manage.c 4 Nov 2003 15:03:56 -0000 1.13 @@ -23,19 +23,19 @@ #include "odb_hash.h" -static inline odb_descr_t * odb_to_descr(samples_odb_t * hash) +static __inline odb_descr_t * odb_to_descr(samples_odb_t * hash) { return (odb_descr_t *)(((char*)hash->base_memory) + hash->sizeof_header); } -static inline odb_node_t * odb_to_node_base(samples_odb_t * hash) +static __inline odb_node_t * odb_to_node_base(samples_odb_t * hash) { return (odb_node_t *)(((char *)hash->base_memory) + hash->offset_node); } -static inline odb_index_t * odb_to_hash_base(samples_odb_t * hash) +static __inline odb_index_t * odb_to_hash_base(samples_odb_t * hash) { return (odb_index_t *)(((char *)hash->base_memory) + hash->offset_node + |