From 4eb9756f669d7ff9f9ad1e9572fcbf36a9ebfbfe Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 23 Aug 2021 18:21:48 +0000 Subject: [PATCH] We don't have a config file on the ramdisks; prevents a warning. --- sbin/dhcpleased/frontend.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbin/dhcpleased/frontend.c b/sbin/dhcpleased/frontend.c index 432891dbb51..66caccac055 100644 --- a/sbin/dhcpleased/frontend.c +++ b/sbin/dhcpleased/frontend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frontend.c,v 1.18 2021/08/12 12:41:08 florian Exp $ */ +/* $OpenBSD: frontend.c,v 1.19 2021/08/23 18:21:48 florian Exp $ */ /* * Copyright (c) 2017, 2021 Florian Obser @@ -96,7 +96,9 @@ void send_discover(struct iface *); void send_request(struct iface *); void bpf_send_packet(struct iface *, uint8_t *, ssize_t); void udp_send_packet(struct iface *, uint8_t *, ssize_t); +#ifndef SMALL int iface_conf_cmp(struct iface_conf *, struct iface_conf *); +#endif /* SMALL */ LIST_HEAD(, iface) interfaces; struct dhcpleased_conf *frontend_conf; -- 2.20.1