From 3d1569ab01565ae2d269e3ec06bf919d28a4ff19 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 27 May 2010 13:12:20 +0000 Subject: [PATCH] adapted to coding style --- src/h5core/h5t_consts.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/h5core/h5t_consts.c b/src/h5core/h5t_consts.c index 43942f1..05db04e 100644 --- a/src/h5core/h5t_consts.c +++ b/src/h5core/h5t_consts.c @@ -1,7 +1,7 @@ #include "h5_core.h" #include "h5_core_private.h" -const char * +const char* h5tpriv_oid_names[] = { "N.N.", "vertex", @@ -10,7 +10,7 @@ h5tpriv_oid_names[] = { "tetrahedron" }; -const char * +const char* h5tpriv_meshes_grpnames[] = { "N.N.", "N.N.", @@ -24,15 +24,15 @@ h5tpriv_sizeof_elem[] = { 0, 0, 0, - sizeof(h5_triangle_t), - sizeof(h5_tetrahedron_t) + sizeof (h5_triangle_t), + sizeof (h5_tetrahedron_t) }; -const char * +const char* h5tpriv_map_oid2str ( h5_oid_t oid ) { - if ( oid < 0 || oid >= sizeof(h5tpriv_oid_names)/sizeof(char*) ) { + if ((oid < 0) || (oid >= sizeof (h5tpriv_oid_names) / sizeof (char*))) { return "[invalid oid]"; } return h5tpriv_oid_names[oid];