summaryrefslogtreecommitdiff
path: root/include/glob.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-09 23:14:53 +0100
commit169daa11155988a210fac949297381743f3cb400 (patch)
tree602ef5df5ae9ea075ab3d5dac3c8ad60da1ea2cc /include/glob.h
parent4e2112e165fdd94dee58378e3ea32892f3710cd7 (diff)
feat: clang-tidy fixes
Diffstat (limited to 'include/glob.h')
-rw-r--r--include/glob.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/glob.h b/include/glob.h
index 9cbf80ac..ef253721 100644
--- a/include/glob.h
+++ b/include/glob.h
@@ -1,6 +1,7 @@
#ifndef __GLOB_H
#define __GLOB_H
+#include <stddef.h>
#define GLOB_APPEND 0x0001
#define GLOB_DOOFFS 0x0002
#define GLOB_ERR 0x0004
@@ -9,9 +10,9 @@
#define GLOB_NOESCAPE 0x0020
#define GLOB_NOSORT 0x0040
-#define GLOB_ABORTED -1
-#define GLOB_NOMATCH -2
-#define GLOB_NOSPACE -3
+#define GLOB_ABORTED (-1)
+#define GLOB_NOMATCH (-2)
+#define GLOB_NOSPACE (-3)
typedef __SIZE_TYPE__ size_t;