diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /include/mqueue.h | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'include/mqueue.h')
| -rw-r--r-- | include/mqueue.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mqueue.h b/include/mqueue.h index 109123e4..227b8373 100644 --- a/include/mqueue.h +++ b/include/mqueue.h @@ -1,7 +1,9 @@ #ifndef __MQUEUE_H #define __MQUEUE_H +#include <stddef.h> #include <sys/cdefs.h> +#include <time.h> __BEGIN_DECLS @@ -39,10 +41,8 @@ mqd_t mq_open(const char *, int, ...); ssize_t mq_receive(mqd_t, char *, size_t, unsigned *); int mq_send(mqd_t, const char *, size_t, unsigned); int mq_setattr(mqd_t, const struct mq_attr *restrict, struct mq_attr *restrict); -ssize_t mq_timedreceive(mqd_t, char *restrict, size_t, unsigned *restrict, - const struct timespec *restrict); -int mq_timedsend(mqd_t, const char *, size_t, unsigned, - const struct timespec *); +ssize_t mq_timedreceive(mqd_t, char *restrict, size_t, unsigned *restrict, const struct timespec *restrict); +int mq_timedsend(mqd_t, const char *, size_t, unsigned, const struct timespec *); int mq_unlink(const char *); __END_DECLS |
