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>
* Copyright (C) 2000 Bjorn Reese and Daniel Veillard.
*/
-#ifndef LIBVIRT_VIRHASH_H
-# define LIBVIRT_VIRHASH_H
+#pragma once
-
-# include "virautoclean.h"
+#include "virautoclean.h"
/*
* The hash table.
void virHashValueFree(void *value, const void *name);
VIR_DEFINE_AUTOPTR_FUNC(virHashTable, virHashFree);
-
-#endif /* LIBVIRT_VIRHASH_H */
* clients can be both 64 or 32 bit at the same time.
*/
-#ifndef LIBVIRT_VIRHASHCODE_H
-# define LIBVIRT_VIRHASHCODE_H
+#pragma once
-# include "internal.h"
+#include "internal.h"
uint32_t virHashCodeGen(const void *key, size_t len, uint32_t seed)
ATTRIBUTE_NOINLINE;
-
-#endif /* LIBVIRT_VIRHASHCODE_H */