summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@cisco.com>2025-03-26 14:54:30 -0400
committerMark Stapp <mjs@cisco.com>2025-04-08 14:41:27 -0400
commit7c98a27f3e53d543284c89d7518ba3b0d77278d4 (patch)
treece5b8fcc1e3673d9bf2b50492f2ca82ab747537a /zebra/main.c
parenta2acd59afd4a611a214f68b255861f6f2753a51f (diff)
zebra: clean up -Wshadow compiler warnings
Clean up variable-shadowing compiler warnings. Signed-off-by: Mark Stapp <mjs@cisco.com>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/main.c b/zebra/main.c
index af3998e384..b23307458b 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -57,7 +57,7 @@
char *zserv_path;
/* process id. */
-pid_t pid;
+pid_t zebra_pid;
/* Pacify zclient.o in libfrr, which expects this variable. */
struct event_loop *master;
@@ -520,7 +520,7 @@ int main(int argc, char **argv)
*/
/* Needed for BSD routing socket. */
- pid = getpid();
+ zebra_pid = getpid();
/* Start dataplane system */
zebra_dplane_start();