Remove unused XREShellData

This commit is contained in:
wolfbeast 2018-05-03 06:28:20 +02:00 • committed by Roy Tam
commit 48c807d319
7 changed files with 5 additions and 33 deletions

View file

@ -1,17 +0,0 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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/. */
#ifndef XREShellData_h
#define XREShellData_h
/**
* Data needed by XRE_XPCShellMain.
*/
struct XREShellData
{
};
#endif // XREShellData_h

View file

@ -12,7 +12,6 @@ EXPORTS += [
'nsXULAppAPI.h',
'XREChildData.h',
'xrecore.h',
'XREShellData.h',
]
EXPORTS.mozilla += [

View file

@ -20,7 +20,6 @@
#include "mozilla/Vector.h"
#include "mozilla/TimeStamp.h"
#include "XREChildData.h"
#include "XREShellData.h"
/**
* A directory service key which provides the platform-correct "application
@ -504,8 +503,7 @@ XRE_API(void,
XRE_EnableSameExecutableForContentProc, ())
XRE_API(int,
XRE_XPCShellMain, (int argc, char** argv, char** envp,
const XREShellData* aShellData))
XRE_XPCShellMain, (int argc, char** argv, char** envp))
#if MOZ_WIDGET_GTK == 2
XRE_API(void,