summaryrefslogtreecommitdiff
path: root/src/w32proc.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-07-07 11:45:28 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-07-07 11:45:28 +0200
commited3751c8245cbf523caf4975f654d459f070ea9a (patch)
tree1bc6a7e69181867c76389dbaca292f8d29af351a /src/w32proc.c
parentcf84bb53567cf64b3dade9e9abeaef289371f0cc (diff)
downloademacs-ed3751c8245cbf523caf4975f654d459f070ea9a.tar.gz
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/>. */
#include <windows.h>
#ifdef __GNUC__
/* This definition is missing from mingw32 headers. */
-extern BOOL WINAPI IsValidLocale(LCID, DWORD);
+extern BOOL WINAPI IsValidLocale (LCID, DWORD);
#endif
#ifdef HAVE_LANGINFO_CODESET
@@ -130,7 +130,7 @@ _DebPrint (const char *fmt, ...)
}
#endif
-typedef void (_CALLBACK_ *signal_handler)(int);
+typedef void (_CALLBACK_ *signal_handler) (int);
/* Signal handlers...SIG_DFL == 0 so this is initialized correctly. */
static signal_handler sig_handlers[NSIG];
@@ -176,7 +176,7 @@ new_child (void)
cp = &child_procs[child_proc_count++];
Initialise:
- memset (cp, 0, sizeof(*cp));
+ memset (cp, 0, sizeof (*cp));
cp->fd = -1;
cp->pid = -1;
cp->procinfo.hProcess = NULL;
@@ -399,7 +399,7 @@ create_child (char *exe, char *cmdline, char *env, int is_gui_app,
return TRUE;
EH_Fail:
- DebPrint (("create_child.CreateProcess failed: %ld\n", GetLastError()););
+ DebPrint (("create_child.CreateProcess failed: %ld\n", GetLastError ()););
return FALSE;
}
@@ -2015,7 +2015,7 @@ int_from_hex (char * s)
static char hex[] = "0123456789abcdefABCDEF";
char * p;
- while (*s && (p = strchr(hex, *s)) != NULL)
+ while (*s && (p = strchr (hex, *s)) != NULL)
{
unsigned digit = p - hex;
if (digit > 15)