You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2019/05/22 21:44:25 UTC

[commons-daemon] 02/02: Polish

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git

commit 75ef9f41cd5a43bfc525d22ec3884bc9321e5805
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed May 22 22:37:45 2019 +0100

    Polish
---
 src/native/windows/include/apxwin.h | 4 ++--
 src/native/windows/src/gui.c        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/native/windows/include/apxwin.h b/src/native/windows/include/apxwin.h
index f291aa4..717f645 100644
--- a/src/native/windows/include/apxwin.h
+++ b/src/native/windows/include/apxwin.h
@@ -118,10 +118,10 @@ LPSTR       MzWideToAscii(LPCWSTR ws, LPSTR s);
 LPSTR       WideToANSI(LPCWSTR ws);
 LPSTR       MzWideToANSI(LPCWSTR ws);
 
-typedef struct APXMULTISZ APXMULTISZ;
-typedef APXMULTISZ*       LPAPXMULTISZ;
 typedef int (__stdcall *WPUTENV) (const wchar_t *env);
 
+typedef struct APXMULTISZ APXMULTISZ;
+typedef APXMULTISZ*       LPAPXMULTISZ;
 
 DWORD   apxMultiSzToArrayW(APXHANDLE hPool, LPCWSTR lpString, LPWSTR **lppArray);
 LPWSTR  apxMultiSzCombine(APXHANDLE hPool, LPCWSTR lpStrA, LPCWSTR lpStrB,
diff --git a/src/native/windows/src/gui.c b/src/native/windows/src/gui.c
index e4336f3..d780d24 100644
--- a/src/native/windows/src/gui.c
+++ b/src/native/windows/src/gui.c
@@ -29,7 +29,7 @@ DYNLOAD_TYPE_DECLARE(NetApiBufferFree, WINAPI, DWORD)(LPVOID);
 static DYNLOAD_FPTR_DECLARE(NetApiBufferFree) = NULL;
 
 DYNLOAD_TYPE_DECLARE(NetQueryDisplayInformation, WINAPI, DWORD)(LPCWSTR, DWORD, DWORD, DWORD, DWORD,
-																LPDWORD, PVOID);
+                                                                LPDWORD, PVOID);
 static DYNLOAD_FPTR_DECLARE(NetQueryDisplayInformation) = NULL;
 
 DYNLOAD_TYPE_DECLARE(NetGetDCName, WINAPI, DWORD)(LPCWSTR, LPCWSTR, LPBYTE *);