dhcp: comment-out unused systemd utility functions

This commit is contained in:
Thomas Haller 2015-01-11 21:44:30 +01:00
parent 22afaab1c5
commit 2d860b3f05
2 changed files with 2 additions and 2 deletions

View file

@ -410,6 +410,7 @@ do { \
_found; \
})
#if 0 /* NM_IGNORED */
/* Return a nulstr for a standard cascade of configuration directories,
* suitable to pass to conf_files_list_nulstr or config_parse_many. */
#define CONF_DIRS_NULSTR(n) \
@ -425,7 +426,6 @@ do { \
#define CONF_DIR_SPLIT_USR(n)
#endif
#if 0 /* NM_IGNORED */
/* Define C11 thread_local attribute even on older gcc compiler
* version */
#ifndef thread_local

View file

@ -917,7 +917,6 @@ int get_process_gid(pid_t pid, gid_t *gid) {
assert_cc(sizeof(uid_t) == sizeof(gid_t));
return get_process_id(pid, "Gid:", gid);
}
#endif /* NM_IGNORED */
int get_process_cwd(pid_t pid, char **cwd) {
const char *p;
@ -971,6 +970,7 @@ int get_process_environ(pid_t pid, char **env) {
return 0;
}
#endif /* NM_IGNORED */
char *strnappend(const char *s, const char *suffix, size_t b) {
size_t a;