summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-28 04:25:13 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-28 04:34:17 +0200
commitfb9de93dd3587e62e0fc0413673c98ea709c5a2f (patch)
tree96baa58676cc78e41db18901ea6b16dfad783f7f /src/util.h
parent958ae0d75176a65dc6694829667a5cc9fead8cbc (diff)
localed: add SetX11Keyboard() and SetVConsoleKeyboard() bus calls
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 ba0800dc07..ccbe8a3efa 100644
--- a/src/util.h
+++ b/src/util.h
@@ -467,6 +467,8 @@ int block_get_whole_disk(dev_t d, dev_t *ret);
int file_is_sticky(const char *p);
+int strdup_or_null(const char *a, char **b);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)