]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
buffer: replace include of c.h with stddef.h
authorThomas Weißschuh <thomas@t-8ch.de>
Sun, 28 Apr 2024 21:18:48 +0000 (23:18 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Sun, 28 Apr 2024 21:27:06 +0000 (23:27 +0200)
The interface of the buffer library only requires size_t.
It's enough to include stddef.h for that.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
include/buffer.h

index b122da4eb4102ce5386d007c1689b3c63f7af8f9..1c1be311220358b9cb978b6b7db9c390609b4785 100644 (file)
@@ -5,7 +5,7 @@
 #ifndef UTIL_LINUX_BUFFER
 #define UTIL_LINUX_BUFFER
 
-#include "c.h"
+#include <stddef.h>
 
 struct ul_buffer {
        char *begin;            /* begin of the data */