From ddd2e00278eb489576eb4c63f44a1a034e7b9d8e Mon Sep 17 00:00:00 2001 From: Yousef_Rabia Date: Wed, 8 Mar 2023 00:45:42 +0200 Subject: [PATCH] tdf#143148 Use pragma once instead of include guards Change-Id: I1c175753242783d83b5b1edc9b8b4cee2a5bd277 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148449 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- sal/osl/unx/system.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sal/osl/unx/system.hxx b/sal/osl/unx/system.hxx index 02d8b06c3bf5..f70887c8c42f 100644 --- a/sal/osl/unx/system.hxx +++ b/sal/osl/unx/system.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SAL_OSL_UNX_SYSTEM_HXX -#define INCLUDED_SAL_OSL_UNX_SYSTEM_HXX +#pragma once #include #include @@ -387,6 +386,4 @@ struct tm *gmtime_r(const time_t *timep, struct tm *buffer); #endif /* !defined(FREEBSD) */ #endif -#endif // INCLUDED_SAL_OSL_UNX_SYSTEM_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */