summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/null_entropy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ipxe/null_entropy.h')
-rw-r--r--src/include/ipxe/null_entropy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ipxe/null_entropy.h b/src/include/ipxe/null_entropy.h
index 0bfec802d..646d1a17e 100644
--- a/src/include/ipxe/null_entropy.h
+++ b/src/include/ipxe/null_entropy.h
@@ -19,9 +19,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define ENTROPY_PREFIX_null __null_
#endif
-static inline __always_inline void
+static inline __always_inline int
ENTROPY_INLINE ( null, entropy_enable ) ( void ) {
/* Do nothing */
+ return 0;
}
static inline __always_inline void