aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32proc.c
diff options
context:
space:
mode:
authorJuanma Barranquero2010-07-07 11:45:28 +0200
committerJuanma Barranquero2010-07-07 11:45:28 +0200
commited3751c8245cbf523caf4975f654d459f070ea9a (patch)
tree1bc6a7e69181867c76389dbaca292f8d29af351a /src/w32proc.c
parentcf84bb53567cf64b3dade9e9abeaef289371f0cc (diff)
downloademacs-ed3751c8245cbf523caf4975f654d459f070ea9a.tar.gz
emacs-ed3751c8245cbf523caf4975f654d459f070ea9a.zip
Fix whitespace to follow coding guidelines.
Diffstat (limited to 'src/w32proc.c')
-rw-r--r--src/w32proc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index 9eef228292f..eccdcc30553 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -46,7 +46,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46#include <windows.h> 46#include <windows.h>
47#ifdef __GNUC__ 47#ifdef __GNUC__
48/* This definition is missing from mingw32 headers. */ 48/* This definition is missing from mingw32 headers. */
49extern BOOL WINAPI IsValidLocale(LCID, DWORD); 49extern BOOL WINAPI IsValidLocale (LCID, DWORD);
50#endif 50#endif
51 51
52#ifdef HAVE_LANGINFO_CODESET 52#ifdef HAVE_LANGINFO_CODESET
@@ -130,7 +130,7 @@ _DebPrint (const char *fmt, ...)
130} 130}
131#endif 131#endif
132 132
133typedef void (_CALLBACK_ *signal_handler)(int); 133typedef void (_CALLBACK_ *signal_handler) (int);
134 134
135/* Signal handlers...SIG_DFL == 0 so this is initialized correctly. */ 135/* Signal handlers...SIG_DFL == 0 so this is initialized correctly. */
136static signal_handler sig_handlers[NSIG]; 136static signal_handler sig_handlers[NSIG];
@@ -176,7 +176,7 @@ new_child (void)
176 cp = &child_procs[child_proc_count++]; 176 cp = &child_procs[child_proc_count++];
177 177
178 Initialise: 178 Initialise:
179 memset (cp, 0, sizeof(*cp)); 179 memset (cp, 0, sizeof (*cp));
180 cp->fd = -1; 180 cp->fd = -1;
181 cp->pid = -1; 181 cp->pid = -1;
182 cp->procinfo.hProcess = NULL; 182 cp->procinfo.hProcess = NULL;
@@ -399,7 +399,7 @@ create_child (char *exe, char *cmdline, char *env, int is_gui_app,
399 return TRUE; 399 return TRUE;
400 400
401 EH_Fail: 401 EH_Fail:
402 DebPrint (("create_child.CreateProcess failed: %ld\n", GetLastError());); 402 DebPrint (("create_child.CreateProcess failed: %ld\n", GetLastError ()););
403 return FALSE; 403 return FALSE;
404} 404}
405 405
@@ -2015,7 +2015,7 @@ int_from_hex (char * s)
2015 static char hex[] = "0123456789abcdefABCDEF"; 2015 static char hex[] = "0123456789abcdefABCDEF";
2016 char * p; 2016 char * p;
2017 2017
2018 while (*s && (p = strchr(hex, *s)) != NULL) 2018 while (*s && (p = strchr (hex, *s)) != NULL)
2019 { 2019 {
2020 unsigned digit = p - hex; 2020 unsigned digit = p - hex;
2021 if (digit > 15) 2021 if (digit > 15)