diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:53 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:53 +0900 |
commit | 3a41a0210cd53bc86a0988762fef0c8c2bca08dd (patch) | |
tree | aa3bc523841881bf6dea934307a145b17d945a27 /iso | |
parent | 82329dd8903ffe2350c0c1cda8682da9a35cbc35 (diff) | |
download | krusader-3a41a0210cd53bc86a0988762fef0c8c2bca08dd.tar.gz krusader-3a41a0210cd53bc86a0988762fef0c8c2bca08dd.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'iso')
-rw-r--r-- | iso/libisofs/bswap.h | 2 | ||||
-rw-r--r-- | iso/libisofs/isofs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/iso/libisofs/bswap.h b/iso/libisofs/bswap.h index 95520c6..bda19c0 100644 --- a/iso/libisofs/bswap.h +++ b/iso/libisofs/bswap.h @@ -39,7 +39,7 @@ inline static unsigned int ByteSwap32(unsigned int x) inline static unsigned long long int ByteSwap64(unsigned long long int x) { - register union { __extension__ unsigned long long int __ll; + union { __extension__ unsigned long long int __ll; unsigned int __l[2]; } __x; asm("xchgl %0,%1": "=r"(__x.__l[0]),"=r"(__x.__l[1]): diff --git a/iso/libisofs/isofs.c b/iso/libisofs/isofs.c index ab13d9e..9b4307a 100644 --- a/iso/libisofs/isofs.c +++ b/iso/libisofs/isofs.c @@ -164,7 +164,7 @@ int ReadBootTable(readfunc *read,int sector, boot_head *head, void *udata) { int i,end=0; unsigned short sum; boot_entry *defcur=NULL,*deflast=NULL; - register struct validation_entry *ventry=NULL; + struct validation_entry *ventry=NULL; head->sections=NULL; head->defentry=NULL; @@ -538,7 +538,7 @@ int ProcessDir(readfunc *read,int extent,int size,dircallback *callback,void *ud */ int JolietLevel(struct iso_volume_descriptor *ivd) { int ret=0; - register struct iso_supplementary_descriptor *isd; + struct iso_supplementary_descriptor *isd; isd = (struct iso_supplementary_descriptor *) ivd; |