htop/openbsd
Christian Göttsche f608fc5c8a OpenBSD: fix compile errors
openbsd/OpenBSDProcessList.c:176:56: error: no member named 'ki_pid' in 'struct kinfo_proc'; did you mean 'p_pid'?
   const int mib[] = { CTL_KERN, KERN_PROC_CWD, kproc->ki_pid };
                                                       ^~~~~~
                                                       p_pid
/usr/include/sys/sysctl.h:375:10: note: 'p_pid' declared here
        int32_t p_pid;                  /* PID_T: Process identifier. */
                ^
openbsd/OpenBSDProcessList.c:458:33: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare]
      if (opl->cpus[i].cpuIndex == id)
          ~~~~~~~~~~~~~~~~~~~~~ ^  ~~
2021-07-18 07:53:03 +02:00
..
OpenBSDProcess.c OpenBSD: Implement CWD column 2021-05-25 21:55:04 +02:00
OpenBSDProcess.h Move kernel/userland thread handling to platform-independent implementation 2021-05-23 09:22:21 +02:00
OpenBSDProcessList.c OpenBSD: fix compile errors 2021-07-18 07:53:03 +02:00
OpenBSDProcessList.h OpenBSD: fix compile errors 2021-07-18 07:53:03 +02:00
Platform.c Rework CPU counting 2021-07-18 07:44:02 +02:00
Platform.h Code indentation 2021-07-15 06:57:24 +02:00
ProcessField.h Rework enum ProcessField 2020-12-19 21:13:32 +01:00