diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:46:23 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:46:23 +0000 |
commit | f90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1 (patch) | |
tree | 66070c6e1e7a5a72c1d1af437e0e2c49a410fa7b /src/jtag/parport.c | |
parent | 6d1d58a1fc3dfd60e9cac89460b5a6e438d11efa (diff) | |
download | riscv-openocd-f90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1.zip riscv-openocd-f90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1.tar.gz riscv-openocd-f90d8fa45f2d4c9d4b7990f198b232ee55cbb4e1.tar.bz2 |
Remove whitespace that occurs after '('.
- Replace '([ \t]*' with '('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2376 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/parport.c')
-rw-r--r-- | src/jtag/parport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/parport.c b/src/jtag/parport.c index 50c0831..ec6a862 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; } |