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:
Zach Brown
2018-04-03 11:18:45 -07:00
committed by Zach Brown
parent 8119a56c92
commit 787555158a
+1 -1
View File
@@ -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);