[segyio] 282/376: fun() -> fun( void )

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

jokva-guest pushed a commit to branch debian
in repository segyio.

commit 1ad96aaac486169f5a9a11742dd309b6150d6bd9
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Mon May 8 14:29:09 2017 +0200

    fun() -> fun( void )
---
 lib/include/segyio/segy.h | 4 ++--
 lib/src/segy.c            | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/include/segyio/segy.h b/lib/include/segyio/segy.h
index dc5d0c9..fcd6a5c 100644
--- a/lib/include/segyio/segy.h
+++ b/lib/include/segyio/segy.h
@@ -45,7 +45,7 @@ int segy_close( segy_file* );
  * The binheader buffer passed to these functions must be of *at least*
  * `segy_binheader_size`. Returns size, not an error code.
  */
-int segy_binheader_size();
+int segy_binheader_size( void );
 int segy_binheader( segy_file*, char* buf );
 int segy_write_binheader( segy_file*, const char* buf );
 /*
@@ -88,7 +88,7 @@ int segy_sample_indices( segy_file*,
 
 /* text header operations */
 int segy_read_textheader( segy_file*, char *buf);
-int segy_textheader_size();
+int segy_textheader_size( void );
 int segy_write_textheader( segy_file*, int pos, const char* buf );
 
 /* Read the trace header at `traceno` into `buf`. */
diff --git a/lib/src/segy.c b/lib/src/segy.c
index 91052ce..e01bdae 100644
--- a/lib/src/segy.c
+++ b/lib/src/segy.c
@@ -1537,10 +1537,10 @@ int segy_write_textheader( segy_file* fp, int pos, const char* buf ) {
     return SEGY_OK;
 }
 
-int segy_textheader_size() {
+int segy_textheader_size( void ) {
     return SEGY_TEXT_HEADER_SIZE + 1;
 }
 
-int segy_binheader_size() {
+int segy_binheader_size( void ) {
     return SEGY_BINARY_HEADER_SIZE;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git



More information about the debian-science-commits mailing list