summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-16 05:05:36 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-16 05:05:36 +0200
commitd3782d60cd47f57f48a9229bdd3badbd2f4bae44 (patch)
tree37cc65a4ae0a4ee530457ff1d46584edb65e593a /src/util.h
parent10e87ee7f66b59a504c0ed2025463ba5faa69923 (diff)
util: introduce random_ull()
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index cacc3969b2..0b397ac0d4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -196,6 +196,8 @@ int make_stdio(int fd);
bool is_clean_exit(int code, int status);
+unsigned long long random_ull(void);
+
#define DEFINE_STRING_TABLE_LOOKUP(name,type) \
const char *name##_to_string(type i) { \
if (i < 0 || i >= (type) ELEMENTSOF(name##_table)) \