From 4d27d087de2922f918a76437a1385dc4a287afc3 Mon Sep 17 00:00:00 2001 From: Shady Mohamed Date: Mon, 11 Apr 2022 21:45:19 +0200 Subject: tdf#143148 Use pragma once instead of include guards Change-Id: I6262d64edcff4e73f2b148e98a62ee8d4b0d3294 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132839 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas --- sal/osl/w32/sockimpl.hxx | 5 +---- sal/osl/w32/thread.hxx | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'sal/osl') diff --git a/sal/osl/w32/sockimpl.hxx b/sal/osl/w32/sockimpl.hxx index 44aeced6b3e6..72b204a2e0fd 100644 --- a/sal/osl/w32/sockimpl.hxx +++ b/sal/osl/w32/sockimpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SAL_OSL_W32_SOCKIMPL_HXX -#define INCLUDED_SAL_OSL_W32_SOCKIMPL_HXX +#pragma once #include #include @@ -40,6 +39,4 @@ struct oslSocketAddrImpl oslSocket osl_createSocketImpl_(SOCKET Socket); void osl_destroySocketImpl_(oslSocket pImpl); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sal/osl/w32/thread.hxx b/sal/osl/w32/thread.hxx index 8740fb72cc56..8002d8b7f855 100644 --- a/sal/osl/w32/thread.hxx +++ b/sal/osl/w32/thread.hxx @@ -7,8 +7,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_SAL_OSL_W32_THREAD_HXX -#define INCLUDED_SAL_OSL_W32_THREAD_HXX +#pragma once #include @@ -16,6 +15,4 @@ void osl_callThreadKeyCallbackOnThreadDetach(void); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit