declare variables at the beginning of the scope
This commit is contained in:
parent
277c47548a
commit
ad0f0d12f7
@ -689,6 +689,7 @@ static void __attribute__ ((constructor)) libusbdriver_init(void) {
|
|||||||
setenv("XIL_IMPACT_USE_WINDRIVER", "1", 1);
|
setenv("XIL_IMPACT_USE_WINDRIVER", "1", 1);
|
||||||
|
|
||||||
#if __WORDSIZE == 32
|
#if __WORDSIZE == 32
|
||||||
|
{
|
||||||
struct utsname un;
|
struct utsname un;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
@ -698,5 +699,6 @@ static void __attribute__ ((constructor)) libusbdriver_init(void) {
|
|||||||
DPRINTF("setting 32bit personality\n");
|
DPRINTF("setting 32bit personality\n");
|
||||||
(long)syscall(SYS_personality, PER_LINUX32);
|
(long)syscall(SYS_personality, PER_LINUX32);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user