summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-07-07 11:33:14 +0200
committerSven Eden <yamakuzure@gmx.net>2017-07-07 11:33:14 +0200
commita683e1878913969ccf8b0defdec4d955e15ed75a (patch)
tree2235c8eb4dc831669b0e87afca174c9f5361fdb1 /src/shared
parentd737e05d865c11ee3eea63b3ea836da9e2938065 (diff)
Prep v232.2: Mask more unneeded functions
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/clean-ipc.c2
-rw-r--r--src/shared/clean-ipc.h2
-rw-r--r--src/shared/conf-parser.c2
-rw-r--r--src/shared/conf-parser.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/clean-ipc.c b/src/shared/clean-ipc.c
index 567dbbc99..8c60bdc1f 100644
--- a/src/shared/clean-ipc.c
+++ b/src/shared/clean-ipc.c
@@ -388,6 +388,8 @@ int clean_ipc_by_uid(uid_t uid) {
return clean_ipc(uid, GID_INVALID);
}
+#if 0 /// UNNEEDED by elogind
int clean_ipc_by_gid(gid_t gid) {
return clean_ipc(UID_INVALID, gid);
}
+#endif // 0
diff --git a/src/shared/clean-ipc.h b/src/shared/clean-ipc.h
index 6ca57f44f..7cd896df0 100644
--- a/src/shared/clean-ipc.h
+++ b/src/shared/clean-ipc.h
@@ -23,4 +23,6 @@
int clean_ipc(uid_t uid, gid_t gid);
int clean_ipc_by_uid(uid_t uid);
+#if 0 /// UNNEEDED by elogind
int clean_ipc_by_gid(gid_t gid);
+#endif // 0
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index 9190ec9b8..90f3167f5 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -507,8 +507,10 @@ int config_parse_many(
DEFINE_PARSER(int, int, safe_atoi);
DEFINE_PARSER(long, long, safe_atoli);
+#if 0 /// UNNEEDED by elogind
DEFINE_PARSER(uint16, uint16_t, safe_atou16);
DEFINE_PARSER(uint32, uint32_t, safe_atou32);
+#endif // 0
DEFINE_PARSER(uint64, uint64_t, safe_atou64);
DEFINE_PARSER(unsigned, unsigned, safe_atou);
DEFINE_PARSER(double, double, safe_atod);
diff --git a/src/shared/conf-parser.h b/src/shared/conf-parser.h
index fe93c3c1e..76d602322 100644
--- a/src/shared/conf-parser.h
+++ b/src/shared/conf-parser.h
@@ -121,8 +121,10 @@ int config_parse_many(
int config_parse_int(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_unsigned(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_long(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
+#if 0 /// UNNEEDED by elogind
int config_parse_uint16(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_uint32(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
+#endif // 0
int config_parse_uint64(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_double(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);
int config_parse_iec_size(const char *unit, const char *filename, unsigned line, const char *section, unsigned section_line, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata);