tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit ed08981c47ba6cf97494b872275003c89441b239
parent d9883c7a14da067f2c7dd167d23be386c471da00
Author: Michael Froman <mfroman@mozilla.com>
Date:   Tue, 18 Nov 2025 17:44:37 +0000

Bug 2000353 - remove unused functions from registry.{c|h} r=bwc,ng

Differential Revision: https://phabricator.services.mozilla.com/D272745

Diffstat:
Mdom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.c | 42------------------------------------------
Mdom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.h | 3---
2 files changed, 0 insertions(+), 45 deletions(-)

diff --git a/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.c b/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.c @@ -61,7 +61,6 @@ #include "r_log.h" #include "r_errors.h" #include "r_macros.h" -#include "c2ru.h" /* vtbl used to switch hit between local and remote invocations */ static nr_registry_module *reg_vtbl = 0; @@ -250,12 +249,6 @@ NR_reg_get_child_registry(NR_registry parent, unsigned int i, NR_registry child) } int -NR_reg_get_children(NR_registry parent, NR_registry *children, size_t size, size_t *length) -{ - return reg_vtbl->vtbl->get_children(parent, children, size, length); -} - -int NR_reg_dump() { int r, _status; @@ -521,41 +514,6 @@ NR_reg_make_child_registry(NR_registry parent, NR_registry descendant, unsigned return(_status); } -int -NR_reg_get2_child_count(NR_registry base, NR_registry name, unsigned int *count) - { - int r, _status; - NR_registry registry; - - if ((r=nr_c2ru_make_registry(base, name, registry))) - ABORT(r); - - if (r=NR_reg_get_child_count(registry,count)) - ABORT(r); - - _status=0; - abort: - return(_status); - } - -int -NR_reg_get2_child_registry(NR_registry base, NR_registry name, unsigned int i, NR_registry child) - { - int r, _status; - NR_registry registry; - - if ((r=nr_c2ru_make_registry(base, name, registry))) - ABORT(r); - - if (r=NR_reg_get_child_registry(registry, i, child)) - ABORT(r); - - _status=0; - abort: - return(_status); - } - - /* requires parent already in legal form */ int NR_reg_make_registry(NR_registry parent, char *child, NR_registry out) diff --git a/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.h b/dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.h @@ -131,9 +131,6 @@ int NR_reg_fin(NR_registry name); int NR_reg_get_child_count(NR_registry parent, unsigned int *count); int NR_reg_get_child_registry(NR_registry parent, unsigned int i, NR_registry child); -int NR_reg_get2_child_count(NR_registry base, NR_registry name, unsigned int *count); -int NR_reg_get2_child_registry(NR_registry base, NR_registry name, unsigned int i, NR_registry child); -int NR_reg_get_children(NR_registry parent, NR_registry children[], size_t size, size_t *length); int NR_reg_dump(void);