diff options
author | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2023-08-03 18:26:43 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-08-07 09:02:05 +0200 |
commit | 97b9d8813edb18f8acecbbd93cb369fd6dfb6fba (patch) | |
tree | c74eba53230a287e275bfd176ad4f74afc65256e /sal | |
parent | 616a03c7addf78d50cf20e161becf17cb35b90ec (diff) |
Drop unnecessary header osl_Mutex_Const.h
It only contained a single define used in a single file
Change-Id: If9f16ab13bb28d2923b97390f1acb013101d0a09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155349
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/mutex/osl_Mutex.cxx | 6 | ||||
-rw-r--r-- | sal/qa/osl/mutex/osl_Mutex_Const.h | 37 |
2 files changed, 5 insertions, 38 deletions
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx index 3424bca07b3c..faa3c36b156c 100644 --- a/sal/qa/osl/mutex/osl_Mutex.cxx +++ b/sal/qa/osl/mutex/osl_Mutex.cxx @@ -24,7 +24,11 @@ #include <cppunit/TestFixture.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/plugin/TestPlugIn.h> -#include "osl_Mutex_Const.h" + +#include <osl/thread.hxx> +#include <osl/mutex.hxx> + +#define BUFFER_SIZE 16 using namespace osl; diff --git a/sal/qa/osl/mutex/osl_Mutex_Const.h b/sal/qa/osl/mutex/osl_Mutex_Const.h deleted file mode 100644 index a5ac53ed4564..000000000000 --- a/sal/qa/osl/mutex/osl_Mutex_Const.h +++ /dev/null @@ -1,37 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#ifndef INCLUDED_SAL_QA_OSL_MUTEX_OSL_MUTEX_CONST_H -#define INCLUDED_SAL_QA_OSL_MUTEX_OSL_MUTEX_CONST_H - -#include <sal/types.h> -#include <rtl/ustring.hxx> -#include <osl/thread.hxx> -#include <osl/mutex.hxx> -#include <osl/time.h> - -#ifdef UNX -#include <unistd.h> -#endif - -#define BUFFER_SIZE 16 - -#endif // INCLUDED_SAL_QA_OSL_MUTEX_OSL_MUTEX_CONST_H - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |