diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-20 19:11:49 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-23 03:04:56 -0600 |
commit | 1e49f931a86e54415ba36fc2bfe799d616936080 (patch) | |
tree | 13d55c71ed95743dd7ab1892c2627e482b7fa4d3 | |
parent | b3d946854132788fcabd9b9812c7b2571b9b8cba (diff) |
lib9p has no CONFIG_9P_PORT configure knob, remove it from config.h
-rw-r--r-- | cmd/sbc_harness/config/config.h | 1 | ||||
-rw-r--r-- | cmd/sbc_harness/main.c | 2 | ||||
-rw-r--r-- | lib9p/tests/test_server/config/config.h | 3 |
3 files changed, 2 insertions, 4 deletions
diff --git a/cmd/sbc_harness/config/config.h b/cmd/sbc_harness/config/config.h index c2d72e4..fd089b1 100644 --- a/cmd/sbc_harness/config/config.h +++ b/cmd/sbc_harness/config/config.h @@ -32,7 +32,6 @@ /* 9P *************************************************************************/ -#define CONFIG_9P_PORT LIB9P_DEFAULT_PORT_9FS /** * This max-msg-size is sized so that a Twrite message can return * 8KiB of data. diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index c932ec0..2b2b3f8 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -139,7 +139,7 @@ static COROUTINE read9p_cr(void *) { cr_begin(); lo_interface net_iface iface = lo_box_w5500_if_as_net_iface(&globals.dev_w5500); - lo_interface net_stream_listener listener = LO_CALL(iface, tcp_listen, CONFIG_9P_PORT); + lo_interface net_stream_listener listener = LO_CALL(iface, tcp_listen, LIB9P_DEFAULT_PORT_9FS); lib9p_srv_read_cr(&globals.srv, listener); diff --git a/lib9p/tests/test_server/config/config.h b/lib9p/tests/test_server/config/config.h index 67960ca..afe6dc0 100644 --- a/lib9p/tests/test_server/config/config.h +++ b/lib9p/tests/test_server/config/config.h @@ -1,4 +1,4 @@ -/* config.h - Compile-time configuration for srv9p +/* config.h - Compile-time configuration for lib9p/test/test_server * * Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com> * SPDX-License-Identifier: AGPL-3.0-or-later @@ -12,7 +12,6 @@ /* 9P *************************************************************************/ -#define CONFIG_9P_PORT LIB9P_DEFAULT_PORT_9FS /** * This max-msg-size is sized so that a Twrite message can return * 8KiB of data. |