diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-11 17:28:10 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | 68def6bc80ba50ed3b3658d00799a3ec295c4d7a (patch) | |
tree | 92a7721824f71dfcaf856da0c8699d0c72515b58 /src/basic/process-util.c | |
parent | c5729796b4ec5e5f4800bfe6bd9ceb5c2da81fbe (diff) |
Prep v228: Condense elogind source masks (2/5)
Diffstat (limited to 'src/basic/process-util.c')
-rw-r--r-- | src/basic/process-util.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/basic/process-util.c b/src/basic/process-util.c index 94ca0401d..0c6a494e0 100644 --- a/src/basic/process-util.c +++ b/src/basic/process-util.c @@ -185,8 +185,7 @@ int get_process_cmdline(pid_t pid, size_t max_length, bool comm_fallback, char * return 0; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind void rename_process(const char name[8]) { assert(name); @@ -251,8 +250,7 @@ int is_kernel_thread(pid_t pid) { return 0; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int get_process_capeff(pid_t pid, char **capeff) { const char *p; int r; @@ -304,8 +302,7 @@ int get_process_exe(pid_t pid, char **name) { return 0; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind static int get_process_id(pid_t pid, const char *field, uid_t *uid) { _cleanup_fclose_ FILE *f = NULL; char line[LINE_MAX]; @@ -537,8 +534,7 @@ void sigkill_wait(pid_t *pid) { (void) wait_for_terminate(*pid, NULL); } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int kill_and_sigcont(pid_t pid, int sig) { int r; @@ -650,8 +646,7 @@ bool is_main_thread(void) { return cached > 0; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind noreturn void freeze(void) { /* Make sure nobody waits for us on a socket anymore */ |