]> git.ipfire.org Git - thirdparty/libvirt.git/commit
wireshark: Switch header files to #pragma once
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 10 Oct 2025 13:20:05 +0000 (15:20 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 14 Oct 2025 13:08:25 +0000 (15:08 +0200)
commit41d3b457972bde85991fa7ed6f282370aca4b2af
tree1a3b18bd241be58d9f023d843186b4e798c221f2
parentb825bb556bd3967bf5422c243b77bd4038e317e2
wireshark: Switch header files to #pragma once

The genxdrstub.pl script generates some header files. But they
use the old pattern to guard against multiple inclusion:

  #ifndef SOMETHING_H
  #define SOMETHING_H
  ...
  #endif

Change the script to generate just '#pragma once' used everywhere
else in our code.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
tools/wireshark/util/genxdrstub.pl