Skip to content

Commit

Permalink
remove rmw_localhost_only_t. (#376)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya authored Jul 29, 2024
1 parent 5ce844c commit 6995280
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 45 deletions.
3 changes: 0 additions & 3 deletions rmw/include/rmw/init_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ extern "C"
#include "rcutils/allocator.h"
#include "rmw/discovery_options.h"
#include "rmw/domain_id.h"
#include "rmw/localhost.h"
#include "rmw/macros.h"
#include "rmw/ret_types.h"
#include "rmw/security_options.h"
Expand Down Expand Up @@ -53,8 +52,6 @@ typedef struct RMW_PUBLIC_TYPE rmw_init_options_s
size_t domain_id;
/// Security options
rmw_security_options_t security_options;
/// Enable localhost only
rmw_localhost_only_t localhost_only;
/// Configure discovery
rmw_discovery_options_t discovery_options;
/// Enclave, name used to find security artifacts in a sros2 keystore.
Expand Down
40 changes: 0 additions & 40 deletions rmw/include/rmw/localhost.h

This file was deleted.

2 changes: 0 additions & 2 deletions rmw/src/init_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <stddef.h>

#include "rmw/init_options.h"
#include "rmw/localhost.h"
#include "rmw/discovery_options.h"

#ifdef __cplusplus
Expand All @@ -28,7 +27,6 @@ rmw_get_zero_initialized_init_options(void)
{
return (const rmw_init_options_t) {
.domain_id = RMW_DEFAULT_DOMAIN_ID,
.localhost_only = RMW_LOCALHOST_ONLY_DEFAULT,
.discovery_options = rmw_get_zero_initialized_discovery_options(),
.implementation_identifier = NULL,
.impl = NULL,
Expand Down

0 comments on commit 6995280

Please sign in to comment.