projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove whitespace that occurs after '('.
[fw/openocd]
/
src
/
jtag
/
gw16012.c
diff --git
a/src/jtag/gw16012.c
b/src/jtag/gw16012.c
index 7096d62c04fa0100c58c5be6a8a16e36917e0835..63dcd627f3d4a1517e6461e33939a490e543f129 100644
(file)
--- a/
src/jtag/gw16012.c
+++ b/
src/jtag/gw16012.c
@@
-422,20
+422,20
@@
static int gw16012_get_giveio_access(void)
OSVERSIONINFO version;
version.dwOSVersionInfoSize = sizeof version;
OSVERSIONINFO version;
version.dwOSVersionInfoSize = sizeof version;
- if (!GetVersionEx(
&version )) {
+ if (!GetVersionEx(&version )) {
errno = EINVAL;
return -1;
}
if (version.dwPlatformId != VER_PLATFORM_WIN32_NT)
return 0;
errno = EINVAL;
return -1;
}
if (version.dwPlatformId != VER_PLATFORM_WIN32_NT)
return 0;
- h = CreateFile(
"\\\\.\\giveio", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL );
+ h = CreateFile("\\\\.\\giveio", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL );
if (h == INVALID_HANDLE_VALUE) {
errno = ENODEV;
return -1;
}
if (h == INVALID_HANDLE_VALUE) {
errno = ENODEV;
return -1;
}
- CloseHandle(
h );
+ CloseHandle(h );
return 0;
}
return 0;
}