diff libmlk-core/mlk/core/util.h @ 474:ca30ff96bbe0

core: util -> mlk_util
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 12:41:53 +0100
parents 5729efd23286
children 6e8f6640e05b
line wrap: on
line diff
--- a/libmlk-core/mlk/core/util.h	Mon Feb 27 11:26:23 2023 +0100
+++ b/libmlk-core/mlk/core/util.h	Mon Feb 27 12:41:53 2023 +0100
@@ -21,18 +21,18 @@
 
 #include "core.h"
 
-#define UTIL_SIZE(x) sizeof ((x)) / sizeof ((x)[0])
+#define MLK_UTIL_SIZE(x) (sizeof ((x)) / sizeof ((x)[0]))
 
 MLK_CORE_BEGIN_DECLS
 
 void
-util_delay(unsigned int);
+mlk_util_delay(unsigned int);
 
 const char *
-util_pathf(const char *, ...);
+mlk_util_pathf(const char *, ...);
 
 unsigned int
-util_nrand(unsigned int, unsigned int);
+mlk_util_nrand(unsigned int, unsigned int);
 
 MLK_CORE_END_DECLS