]> The Tcpdump Group git mirrors - tcpdump/commit
RT6: Declare the struct tok srh_tlv_type "static"
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 18 Apr 2023 16:00:36 +0000 (18:00 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 18 Apr 2023 16:04:49 +0000 (18:04 +0200)
commitc7fd6445c6c4c1b36183bc043a06a5e17237c49f
treead5fcc996471c737d33604b9034297125ef18c92
parentf119045227af1e1a23f2727e5ba7ebe910eb6517
RT6: Declare the struct tok srh_tlv_type "static"

This should avoid error like:
./print-rt6.c:36:18: error: no previous extern declaration for
non-static variable 'srh_tlv_type' [-Werror,-Wmissing-variable-declarations]
const struct tok srh_tlv_type[] = {
                 ^
./print-rt6.c:36:7: note: declare 'static' if the variable is not
intended to be used outside of this translation unit
const struct tok srh_tlv_type[] = {
      ^
print-rt6.c