diff --git a/src/shared/format-table.h b/src/shared/format-table.h index 0942fd72482..e18ca307d17 100644 --- a/src/shared/format-table.h +++ b/src/shared/format-table.h @@ -43,6 +43,10 @@ typedef enum TableDataType { _TABLE_DATA_TYPE_INVALID = -1, } TableDataType; +/* PIDs are just 32bit signed integers on Linux */ +#define TABLE_PID TABLE_INT32 +assert_cc(sizeof(pid_t) == sizeof(int32_t)); + typedef struct Table Table; typedef struct TableCell TableCell;