Removed explicit usage of the 'register' keyword.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/6/head
Michele Calgaro 4 years ago
parent fb03d48b17
commit b557321865
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -121,7 +121,7 @@
#define lrintf float2int #define lrintf float2int
inline int inline int
float2int (register float in) float2int (float in)
{ long res [2] ; { long res [2] ;
asm asm
@ -132,7 +132,7 @@
} /* float2int */ } /* float2int */
inline int inline int
double2int (register double in) double2int (double in)
{ long res [2] ; { long res [2] ;
asm asm
@ -157,7 +157,7 @@
#define lrintf float2int #define lrintf float2int
inline static long int inline static long int
float2int (register float in) float2int (float in)
{ int res [2] ; { int res [2] ;
__asm__ __volatile__ __asm__ __volatile__
@ -172,7 +172,7 @@
} /* lrintf */ } /* lrintf */
inline static long int inline static long int
double2int (register double in) double2int (double in)
{ int res [2] ; { int res [2] ;
__asm__ __volatile__ __asm__ __volatile__

@ -39,7 +39,7 @@ inline static unsigned int ByteSwap32(unsigned int x)
inline static unsigned long long int ByteSwap64(unsigned long long 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; unsigned int __l[2]; } __x;
asm("xchgl %0,%1": asm("xchgl %0,%1":
"=r"(__x.__l[0]),"=r"(__x.__l[1]): "=r"(__x.__l[0]),"=r"(__x.__l[1]):

@ -163,11 +163,11 @@ int ReadBootTable(readfunc *read,sector_t sector, boot_head *head, void *udata)
int i,end=0; int i,end=0;
unsigned short sum; unsigned short sum;
boot_entry *defcur=NULL,*deflast=NULL; boot_entry *defcur=NULL,*deflast=NULL;
register struct validation_entry *ventry=NULL; struct validation_entry *ventry=NULL;
register struct default_entry *dentry=NULL; struct default_entry *dentry=NULL;
register struct section_header *sheader=NULL; struct section_header *sheader=NULL;
register struct section_entry *sentry=NULL; struct section_entry *sentry=NULL;
register struct section_entry_ext *extsentry=NULL; struct section_entry_ext *extsentry=NULL;
head->sections=NULL; head->sections=NULL;
head->defentry=NULL; head->defentry=NULL;
@ -540,7 +540,7 @@ int ProcessDir(readfunc *read,int extent,int size,dircallback *callback,void *ud
*/ */
int JolietLevel(struct iso_volume_descriptor *ivd) { int JolietLevel(struct iso_volume_descriptor *ivd) {
int ret=0; int ret=0;
register struct iso_supplementary_descriptor *isd; struct iso_supplementary_descriptor *isd;
isd = (struct iso_supplementary_descriptor *) ivd; isd = (struct iso_supplementary_descriptor *) ivd;

@ -439,7 +439,7 @@ static void HorizontalFilter(const TQImage& source,TQImage& destination,
stop, stop,
y; y;
register long long
i, i,
x; x;
@ -524,7 +524,7 @@ static void VerticalFilter(const TQImage& source,TQImage& destination,
stop, stop,
x; x;
register long long
i, i,
y; y;
@ -738,13 +738,13 @@ TQImage SampleImage(const TQImage& image,const int columns,
uchar uchar
*pixels; *pixels;
register const uchar const uchar
*p; *p;
register long long
x; x;
register uchar uchar
*q; *q;
/* /*

Loading…
Cancel
Save