diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-08 10:10:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-08 10:10:43 +0200 |
commit | b06a6bba31b15287383853b4d9b52575a92b914b (patch) | |
tree | 225a169a421395c3437e46c929879982c5676ad4 /rsc | |
parent | d2771b63b94a8aae3c25c83e9dae9f83242f46c1 (diff) |
Clean up function declaration
Change-Id: I3c38149f9c99b45170f44f48725087cbe5dba40e
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/prj/gui.cxx | 2 | ||||
-rw-r--r-- | rsc/source/prj/gui.hxx | 29 | ||||
-rw-r--r-- | rsc/source/prj/start.cxx | 3 |
3 files changed, 33 insertions, 1 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx index a2d321e0dde9..f0801a8dffea 100644 --- a/rsc/source/prj/gui.cxx +++ b/rsc/source/prj/gui.cxx @@ -20,6 +20,8 @@ #include <stdlib.h> #include <stdio.h> + +#include <gui.hxx> #include <rscrsc.hxx> #include <rscdb.hxx> diff --git a/rsc/source/prj/gui.hxx b/rsc/source/prj/gui.hxx new file mode 100644 index 000000000000..08a11e637834 --- /dev/null +++ b/rsc/source/prj/gui.hxx @@ -0,0 +1,29 @@ +/* -*- 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_RSC_SOURCE_PRJ_GUI_HXX +#define INCLUDED_RSC_SOURCE_PRJ_GUI_HXX + +#include <sal/config.h> + +int rsc2_main(int, char**); + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx index 3ad077f40cd7..061398227bb4 100644 --- a/rsc/source/prj/start.cxx +++ b/rsc/source/prj/start.cxx @@ -33,6 +33,8 @@ #include <dos.h> #endif // UNX + +#include <gui.hxx> #include <rsctools.hxx> #include <rscerror.h> #include <sal/main.h> @@ -44,7 +46,6 @@ extern "C" { int rscpp_main(int, char**); } -int rsc2_main(int, char**); static bool CallPrePro( const OString& rInput, const OString& rOutput, RscPtrPtr * pCmdLine, |