[Libreoffice-commits] core.git: extensions/source

Stephan Bergmann sbergman at redhat.com
Wed Mar 27 01:52:14 PDT 2013


 extensions/source/nsplugin/source/nsp_func.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d84142a4a44e522d1d23adcf0577d5bb567eab70
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 27 09:51:51 2013 +0100

    Prevent duplicate definitions
    
    Change-Id: I4cbc231bdac93ed3dca3fb6140c5c85e9eb4339d

diff --git a/extensions/source/nsplugin/source/nsp_func.hxx b/extensions/source/nsplugin/source/nsp_func.hxx
index 047a1ec..1e99bbb 100644
--- a/extensions/source/nsplugin/source/nsp_func.hxx
+++ b/extensions/source/nsplugin/source/nsp_func.hxx
@@ -76,7 +76,7 @@ typedef int NSP_PIPE_FD;
 
 //for pipe()
 typedef HANDLE NSP_PIPE_FD;
-SECURITY_ATTRIBUTES  NSP_pipe_access = { sizeof(SECURITY_ATTRIBUTES), NULL, TRUE};
+static SECURITY_ATTRIBUTES  NSP_pipe_access = { sizeof(SECURITY_ATTRIBUTES), NULL, TRUE};
 #define NSP_Inherited_Pipe(fd) (!CreatePipe(&fd[0], &fd[1], &NSP_pipe_access, 1024*10))
 #define NSP_Close_Pipe(fp)    CloseHandle(fp)
 //for write(), read()


More information about the Libreoffice-commits mailing list