Skip to content

Commit

Permalink
Drop unused macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthäus Wininger committed Dec 21, 2023
1 parent 6057ec9 commit 1755b7c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/zps.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@

/* Maximum length of userland process names (incl. '\0') */
#define TASK_COMM_LEN 16
/* We will truncate the cmdline string */
/* We will truncate the cmdline string (incl. '\0') */
#define CMD_MAX_LEN 32

/* Formatting widths for our columns */
#define PID_COL_WIDTH 10
#define PPID_COL_WIDTH PID_COL_WIDTH
#define STATE_COL_WIDTH 5
#define NAME_COL_WIDTH (TASK_COMM_LEN - 1)
#define COMMAND_COL_WIDTH CMD_MAX_LEN - 1
#define PID_COL_WIDTH 10
#define PPID_COL_WIDTH PID_COL_WIDTH
#define STATE_COL_WIDTH 5
#define NAME_COL_WIDTH (TASK_COMM_LEN - 1)

/* `/proc` filesystem */
#define PROC_FILESYSTEM "/proc"
Expand Down

0 comments on commit 1755b7c

Please sign in to comment.