]> xenbits.xensource.com Git - libvirt.git/commitdiff
src/interface: use #pragma once in headers
authorJonathon Jongsma <jjongsma@redhat.com>
Fri, 7 Jun 2019 20:20:26 +0000 (15:20 -0500)
committerJán Tomko <jtomko@redhat.com>
Thu, 13 Jun 2019 15:05:09 +0000 (17:05 +0200)
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/interface/interface_driver.h

index 242e00a8240b77053b4dcb92358a739745ea604e..eee01d4aecf97d01e59a2cc03ea51c217143149d 100644 (file)
  * <http://www.gnu.org/licenses/>.
  */
 
-#ifndef LIBVIRT_INTERFACE_DRIVER_H
-# define LIBVIRT_INTERFACE_DRIVER_H
+#pragma once
 
 int interfaceRegister(void);
 
 int netcfIfaceRegister(void);
 int udevIfaceRegister(void);
-
-#endif /* LIBVIRT_INTERFACE_DRIVER_H */