mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-06 08:06:56 +00:00
scoutfs-utils: builtin rand returns int
When we added these externs to silence some spurious sparse warning we forgot to give them a return value. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@
|
||||
# undef __sp_biwise
|
||||
# define __sp_biwise __attribute__((bitwise))
|
||||
/* sparse seems to get confused by some builtins */
|
||||
extern __builtin_ia32_rdrand64_step(unsigned long long *);
|
||||
extern int __builtin_ia32_rdrand64_step(unsigned long long *);
|
||||
extern unsigned int __builtin_ia32_crc32di(unsigned int, unsigned long long);
|
||||
extern unsigned int __builtin_ia32_crc32si(unsigned int, unsigned int);
|
||||
extern unsigned int __builtin_ia32_crc32hi(unsigned int, unsigned short);
|
||||
|
||||
Reference in New Issue
Block a user