diff options
author | Mattias Andrée <maandree@kth.se> | 2022-06-10 20:34:32 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-06-10 20:34:32 +0200 |
commit | 056c5fe698f194c3187b9eec5378c441930c005b (patch) | |
tree | fc918970dcb3576774754c990af230b4dbab02e9 /libsimple.h | |
parent | Add strto[u]{hh,h,z}, strto{i,u}{,8,16,32,64} (diff) | |
download | libsimple-056c5fe698f194c3187b9eec5378c441930c005b.tar.gz libsimple-056c5fe698f194c3187b9eec5378c441930c005b.tar.bz2 libsimple-056c5fe698f194c3187b9eec5378c441930c005b.tar.xz |
Remove `static` from some `static inline`
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libsimple.h')
-rw-r--r-- | libsimple.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsimple.h b/libsimple.h index 6443dd4..2dda0c2 100644 --- a/libsimple.h +++ b/libsimple.h @@ -142,7 +142,7 @@ * -1 on error), 0 if `*fdp < 0` */ _LIBSIMPLE_GCC_ONLY(__attribute__((__nonnull__))) -static inline int +inline int libsimple_close(int *__fdp) { int __ret; @@ -180,7 +180,7 @@ libsimple_close(int *__fdp) * @param width The width, in bytes, of each item in the list */ _LIBSIMPLE_GCC_ONLY(__attribute__((__nonnull__))) -static inline void +inline void libsimple_unlist(void *__list, size_t __i, size_t *__np, size_t __width) { char *__lst = __list; |