[segyio] 194/376: Remove register keyword

Jørgen Kvalsvik jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:32 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 129763702070d370512c54c5688ca8145f8df537
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date:   Tue Feb 14 15:14:50 2017 +0100

    Remove register keyword
---
 lib/src/segy.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/src/segy.c b/lib/src/segy.c
index b2a7fac..bf2acf8 100644
--- a/lib/src/segy.c
+++ b/lib/src/segy.c
@@ -79,7 +79,7 @@ void ascii2ebcdic( const char* ascii, char* ebcdic ) {
 
 void ibm2ieee( void* to, const void* from ) {
     uint32_t fr;      /* fraction */
-    register int exp; /* exponent */
+    int exp;          /* exponent */
     uint32_t sgn;     /* sign */
 
     memcpy( &fr, from, sizeof( uint32_t ) );
@@ -127,7 +127,7 @@ done:
 
 void ieee2ibm( void* to, const void* from ) {
     uint32_t fr;      /* fraction */
-    register int exp; /* exponent */
+    int exp;          /* exponent */
     uint32_t sgn;     /* sign */
 
     /* split into sign, exponent, and fraction */

-- 
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