aboutsummaryrefslogtreecommitdiff
path: root/include/ubox_assets.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-09-19 21:19:40 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-09-19 22:19:34 +0100
commitd495a881f3c277abd4a49fe9b3d5d2788ee4c92b (patch)
treef001f93e7be420d3cab8d6781213148e14dcbbd3 /include/ubox_assets.h
parent50d06345810cf849548b95e92973f8466b7d5754 (diff)
downloaduboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.tar.gz
uboxlib-dos-d495a881f3c277abd4a49fe9b3d5d2788ee4c92b.zip
Use "pragma once"
Diffstat (limited to 'include/ubox_assets.h')
-rw-r--r--include/ubox_assets.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ubox_assets.h b/include/ubox_assets.h
index e6f4292..c0434ea 100644
--- a/include/ubox_assets.h
+++ b/include/ubox_assets.h
@@ -1,5 +1,4 @@
-#ifndef _UBOX_ASSETS_H
-#define _UBOX_ASSETS_H
+#pragma once
/* Simple asset manager supporting pak file (a ZIP file).
*
@@ -13,5 +12,3 @@
uint8_t ubox_assets_init(const char *dirname);
uint8_t ubox_assets_read(const char *name, uint8_t **data, size_t *data_size);
void ubox_assets_free();
-
-#endif /* _UBOX_ASSETS_H */