chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: introduce random_ull()
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index cacc3969b2e9f3e28cd7a5587b63d6165c10def2..0b397ac0d4deb40631d9917af032be3a8e666596 100644
(file)
--- 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)) \