Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

uuid: cleanup <uapi/linux/uuid.h>

Exported header doesn't use anything from <linux/string.h>,
it is <linux/uuid.h> which uses memcmp().

Link: http://lkml.kernel.org/r/20171225171121.GA22754@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alexey Dobriyan and committed by
Linus Torvalds
dfbc3c6c 44c6dc94

+1 -1
+1
include/linux/uuid.h
··· 17 17 #define _LINUX_UUID_H_ 18 18 19 19 #include <uapi/linux/uuid.h> 20 + #include <linux/string.h> 20 21 21 22 #define UUID_SIZE 16 22 23
-1
include/uapi/linux/uuid.h
··· 19 19 #define _UAPI_LINUX_UUID_H_ 20 20 21 21 #include <linux/types.h> 22 - #include <linux/string.h> 23 22 24 23 typedef struct { 25 24 __u8 b[16];