Module Name: src
Committed By: kre
Date: Thu Feb 13 01:54:46 UTC 2025
Modified Files:
src/external/bsd/dhcpcd/dist/src: if-options.c
Log Message:
The var 'vo' in free_options() is used only #ifndef SMALL, move its
declaration to the appropriate place for that case.
Should help the builds at least make it further.
To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/external/bsd/dhcpcd/dist/src/if-options.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/dhcpcd/dist/src/if-options.c
diff -u src/external/bsd/dhcpcd/dist/src/if-options.c:1.38 src/external/bsd/dhcpcd/dist/src/if-options.c:1.39
--- src/external/bsd/dhcpcd/dist/src/if-options.c:1.38 Wed Feb 12 19:23:13 2025
+++ src/external/bsd/dhcpcd/dist/src/if-options.c Thu Feb 13 01:54:46 2025
@@ -2951,11 +2951,11 @@ free_options(struct dhcpcd_ctx *ctx, str
struct rt *rt;
#endif
struct dhcp_opt *opt;
- struct vivco *vo;
#ifdef AUTH
struct token *token;
#endif
#ifndef SMALL
+ struct vivco *vo;
struct vsio *vsio;
struct vsio_so *vsio_so;
#endif