Switch from include guard to pragma once.
This pragma is so widley supported it is a defacto standard. It has the
advantage over include guards in that a unique macro identifier does not
need to be created and maintained.
Change-Id: Id12f56d9970fdfb63d45c92e428d3dbe44b2ab0e
diff --git a/inc/hf/api.h b/inc/hf/api.h
index 0009ac8..934404d 100644
--- a/inc/hf/api.h
+++ b/inc/hf/api.h
@@ -1,5 +1,4 @@
-#ifndef _API_H
-#define _API_H
+#pragma once
#include "hf/cpu.h"
#include "hf/vm.h"
@@ -22,5 +21,3 @@
int32_t api_rpc_read_request(bool block, struct vcpu **next);
int32_t api_rpc_reply(size_t size, bool ack, struct vcpu **next);
int32_t api_rpc_ack(void);
-
-#endif /* _API_H */