summaryrefslogtreecommitdiffstats
path: root/tools/h5jam
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5jam')
-rw-r--r--tools/h5jam/getub.c6
-rw-r--r--tools/h5jam/h5jam.c2
-rw-r--r--tools/h5jam/h5jamgentest.c6
-rw-r--r--tools/h5jam/h5unjam.c2
-rw-r--r--tools/h5jam/tellub.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/tools/h5jam/getub.c b/tools/h5jam/getub.c
index 6f35518..869c4aa 100644
--- a/tools/h5jam/getub.c
+++ b/tools/h5jam/getub.c
@@ -21,7 +21,7 @@ void parse_command_line(int argc, const char *const *argv);
#define PROGRAM_NAME "getub"
char *nbytes = NULL;
-static const char * s_opts = "c:"; /* add more later ? */
+static const char *s_opts = "c:"; /* add more later ? */
static struct long_options l_opts[] = {{"c", require_arg, 'c'}, /* input file */
{NULL, 0, '\0'}};
@@ -81,9 +81,9 @@ main(int argc, char *argv[])
{
int fd = H5I_INVALID_HID;
unsigned size;
- char * filename = NULL;
+ char *filename = NULL;
long res;
- char * buf = NULL;
+ char *buf = NULL;
h5tools_setprogname(PROGRAM_NAME);
h5tools_setstatus(EXIT_SUCCESS);
diff --git a/tools/h5jam/h5jam.c b/tools/h5jam/h5jam.c
index cbbdc4a..43f3c3d 100644
--- a/tools/h5jam/h5jam.c
+++ b/tools/h5jam/h5jam.c
@@ -34,7 +34,7 @@ char *ub_file = NULL;
* parameters. The long-named ones can be partially spelled. When
* adding more, make sure that they don't clash with each other.
*/
-static const char * s_opts = "hi:u:o:c:V"; /* add more later ? */
+static const char *s_opts = "hi:u:o:c:V"; /* add more later ? */
static struct long_options l_opts[] = {
{"help", no_arg, 'h'}, {"hel", no_arg, 'h'}, {"i", require_arg, 'i'}, /* input file */
{"u", require_arg, 'u'}, /* user block file */
diff --git a/tools/h5jam/h5jamgentest.c b/tools/h5jam/h5jamgentest.c
index cade9df..c3e2bea 100644
--- a/tools/h5jam/h5jamgentest.c
+++ b/tools/h5jam/h5jamgentest.c
@@ -133,7 +133,7 @@ gent_ub(const char *filename, size_t ub_size, size_t ub_fill)
size_t u;
float dset2_1[10], dset2_2[3][5];
int fd;
- char * bp;
+ char *bp;
if (ub_size > 0) {
create_plist = H5Pcreate(H5P_FILE_CREATE);
@@ -291,10 +291,10 @@ gent_ub(const char *filename, size_t ub_size, size_t ub_fill)
static void
create_textfile(const char *name, size_t size)
{
- char * buf;
+ char *buf;
int fd;
size_t i;
- char * bp;
+ char *bp;
fd = HDcreat(name, 0777);
HDassert(fd >= 0);
diff --git a/tools/h5jam/h5unjam.c b/tools/h5jam/h5unjam.c
index 242a584..a74dd1a 100644
--- a/tools/h5jam/h5unjam.c
+++ b/tools/h5jam/h5unjam.c
@@ -35,7 +35,7 @@ char *ub_file = NULL;
* parameters. The long-named ones can be partially spelled. When
* adding more, make sure that they don't clash with each other.
*/
-static const char * s_opts = "hu:i:o:d:V";
+static const char *s_opts = "hu:i:o:d:V";
static struct long_options l_opts[] = {
{"help", no_arg, 'h'}, {"hel", no_arg, 'h'}, {"i", require_arg, 'i'}, /* input file */
{"u", require_arg, 'u'}, /* user block file */
diff --git a/tools/h5jam/tellub.c b/tools/h5jam/tellub.c
index 90e1072..70bb7d2 100644
--- a/tools/h5jam/tellub.c
+++ b/tools/h5jam/tellub.c
@@ -24,7 +24,7 @@
* parameters. The long-named ones can be partially spelled. When
* adding more, make sure that they don't clash with each other.
*/
-static const char * s_opts = "h";
+static const char *s_opts = "h";
static struct long_options l_opts[] = {{"help", no_arg, 'h'}, {"hel", no_arg, 'h'}, {NULL, 0, '\0'}};
/*-------------------------------------------------------------------------
@@ -100,7 +100,7 @@ leave(int ret)
int
main(int argc, char *argv[])
{
- char * ifname;
+ char *ifname;
hid_t ifile = H5I_INVALID_HID;
hsize_t usize;
htri_t testval;