author | Corey Kosak <kosak@google.com> | |
Sat, 23 Jan 2016 00:10:21 +0000 (19:10 -0500) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 26 Jan 2016 06:02:12 +0000 (07:02 +0100) | ||
commit | bb978c10e7b6cde5be79ade8b14fcdbb78f7b8ea | |
tree | 4da4b958188e2f21d8fe5908c05e24724c9e3787 | tree | snapshot |
parent | 5c19a9f696f52cf2747349967843bd725133e915 | commit | diff |
Provide a unified signature for ps_get_cmdline.
Prior to this change, ps_get_cmdline had different signatures for
KERNEL_LINUX vs. KERNEL_SOLARIS. This means that callers who want to
call this function would have to have an #if..#else that controlled which
variant of the function to call.
By giving them the same signature, callers don't have to worry about
that.
Prior to this change, ps_get_cmdline had different signatures for
KERNEL_LINUX vs. KERNEL_SOLARIS. This means that callers who want to
call this function would have to have an #if..#else that controlled which
variant of the function to call.
By giving them the same signature, callers don't have to worry about
that.
src/processes.c | diff | blob | history |