summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-03-03 09:59:13 +0100
committerThomas Haller <thaller@redhat.com>2015-03-03 11:13:51 +0100
commit22afaab1c59f551c46c9e5a6b62bcc3aa0e1e108 (patch)
treed46dc364929096ae87aeffd6ad41e32d92a264e0
parentcdd71569b0f58f4ab29d4382b82fb02129fc9189 (diff)
downloadNetworkManager-22afaab1c59f551c46c9e5a6b62bcc3aa0e1e108.tar.gz
dhcp: comment-in now needed string_table_lookup() function in util.c
-rw-r--r--src/dhcp-manager/systemd-dhcp/src/shared/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcp-manager/systemd-dhcp/src/shared/util.c b/src/dhcp-manager/systemd-dhcp/src/shared/util.c
index 81e13f8e2a..3e7b270e5a 100644
--- a/src/dhcp-manager/systemd-dhcp/src/shared/util.c
+++ b/src/dhcp-manager/systemd-dhcp/src/shared/util.c
@@ -8145,6 +8145,7 @@ int syslog_parse_priority(const char **p, int *priority, bool with_facility) {
*p += k;
return 1;
}
+#endif /* NM_IGNORED */
ssize_t string_table_lookup(const char * const *table, size_t len, const char *key) {
size_t i;
@@ -8159,6 +8160,7 @@ ssize_t string_table_lookup(const char * const *table, size_t len, const char *k
return -1;
}
+#if 0 /* NM_IGNORED */
void cmsg_close_all(struct msghdr *mh) {
struct cmsghdr *cmsg;