# HG changeset patch # User Kim F. Storm # Date 1167256559 0 # Node ID 357bd3ca981a88f32ce8ed9bdb1e5f71a9e288ef # Parent 9321ec6bc5db8423d8e3b4dffb0546574deb210b Wrap function headers. diff -r 9321ec6bc5db -r 357bd3ca981a src/w32.c --- a/src/w32.c Wed Dec 27 21:46:25 2006 +0000 +++ b/src/w32.c Wed Dec 27 21:55:59 2006 +0000 @@ -153,7 +153,8 @@ PSID pSid); /* ** A utility function ** */ -static BOOL is_windows_9x () +static BOOL +is_windows_9x () { static BOOL s_b_ret=0; OSVERSIONINFO os_ver; @@ -2871,7 +2872,8 @@ /* function to set h_errno for compatability; map winsock error codes to normal system codes where they overlap (non-overlapping definitions are already in */ -static void set_errno () +static void +set_errno () { if (winsock_lib == NULL) h_errno = EINVAL; @@ -2892,7 +2894,8 @@ errno = h_errno; } -static void check_errno () +static void +check_errno () { if (h_errno == 0 && winsock_lib != NULL) pfn_WSASetLastError (0); @@ -3676,7 +3679,8 @@ return cp->status; } -int _sys_wait_accept (int fd) +int +_sys_wait_accept (int fd) { HANDLE hEv; child_process * cp; @@ -4136,7 +4140,8 @@ must always be initialized on startup even when the global variable initialized is non zero (see the function main in emacs.c). */ -void globals_of_w32 () +void +globals_of_w32 () { g_b_init_is_windows_9x = 0; g_b_init_open_process_token = 0;