summaryrefslogtreecommitdiff
path: root/src/jtag/parport.c
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:47:42 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:47:42 +0000
commitdc575dc5bf8cb597a0e9a47794744ae6b1928087 (patch)
tree325ee3b79fe5801fd11a9cfa5e848ea15a52d5eb /src/jtag/parport.c
parentf90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1 (diff)
downloadopenocd+libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.tar.gz
openocd+libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.tar.bz2
openocd+libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.tar.xz
openocd+libswd-dc575dc5bf8cb597a0e9a47794744ae6b1928087.zip
Remove whitespace that occurs before ')'.
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/parport.c')
-rw-r--r--src/jtag/parport.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/parport.c b/src/jtag/parport.c
index ec6a862f..b7527969 100644
--- a/src/jtag/parport.c
+++ b/src/jtag/parport.c
@@ -263,20 +263,20 @@ static int parport_get_giveio_access(void)
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;
- 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;
}
- CloseHandle(h );
+ CloseHandle(h);
return 0;
}