diff liboctave/system/child-list.h @ 30063:a8c61e096c68

maint: clean up some variable renamings in cset bffdbda91d28 * child-list.cc, child-list.h: Don't use "m_" prefix within function prototypes or for function parameters.
author Rik <rik@octave.org>
date Sun, 29 Aug 2021 19:59:28 -0700
parents bffdbda91d28
children 796f54d4ddbf
line wrap: on
line diff
--- a/liboctave/system/child-list.h	Sun Aug 29 19:58:26 2021 -0700
+++ b/liboctave/system/child-list.h	Sun Aug 29 19:59:28 2021 -0700
@@ -48,8 +48,8 @@
 
     typedef bool (*child_event_handler) (pid_t, int);
 
-    child (pid_t id = -1, child_event_handler f = nullptr)
-      : m_pid (id), m_handler (f), m_have_status (0), m_status (0)
+    child (pid_t pid = -1, child_event_handler f = nullptr)
+      : m_pid (pid), m_handler (f), m_have_status (0), m_status (0)
     { }
 
     child (const child&) = default;
@@ -58,7 +58,7 @@
 
     ~child (void) = default;
 
-    // The process id of this child.
+    // The process ID of this child.
     pid_t m_pid;
 
     // The function we call if an event happens for this child.
@@ -78,9 +78,9 @@
 
     child_list (void) { }
 
-    void insert (pid_t m_pid, child::child_event_handler f);
+    void insert (pid_t pid, child::child_event_handler f);
 
-    void remove (pid_t m_pid);
+    void remove (pid_t pid);
 
     void reap (void);