diff options
author | Ben Pfaff <blp@nicira.com> | 2010-09-17 10:33:10 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-10-01 10:25:29 -0700 |
commit | 4e8e4213a815a30216e855a805a8bcd5b8c5a886 (patch) | |
tree | 38dbb503be4f22ae804f3e5f83459c975d83886a /lib/process.c | |
parent | adf7cfd851c3d9d6f1ad74653cbd2fecce8c3ba9 (diff) |
Switch many macros from using CONTAINER_OF to using OBJECT_CONTAINING.
These macros require one fewer argument by switching, which makes code
that uses them shorter and more readable.
Diffstat (limited to 'lib/process.c')
-rw-r--r-- | lib/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/process.c b/lib/process.c index 377c396b..087275b8 100644 --- a/lib/process.c +++ b/lib/process.c @@ -590,7 +590,7 @@ sigchld_handler(int signr OVS_UNUSED) struct process *p; COVERAGE_INC(process_sigchld); - LIST_FOR_EACH (p, struct process, node, &all_processes) { + LIST_FOR_EACH (p, node, &all_processes) { if (!p->exited) { int retval, status; do { |