diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-10-13 14:35:30 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-13 14:56:01 +0200 |
commit | 7af06659e2694823c9430e1ef249d1cd4e565926 (patch) | |
tree | a747f6a8f259669f2bde381f491703b88a2a1298 /openbsd | |
parent | 5cc20e7cb27800166499d90ca457e17097adb3f4 (diff) |
Mark remaining classes const
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/OpenBSDProcess.c | 2 | ||||
-rw-r--r-- | openbsd/OpenBSDProcess.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/OpenBSDProcess.c b/openbsd/OpenBSDProcess.c index 6b87f372..56bc0771 100644 --- a/openbsd/OpenBSDProcess.c +++ b/openbsd/OpenBSDProcess.c @@ -17,7 +17,7 @@ in the source distribution for its full text. #include <sys/syscall.h> -ProcessClass OpenBSDProcess_class = { +const ProcessClass OpenBSDProcess_class = { .super = { .extends = Class(Process), .display = Process_display, diff --git a/openbsd/OpenBSDProcess.h b/openbsd/OpenBSDProcess.h index bd365942..5694a524 100644 --- a/openbsd/OpenBSDProcess.h +++ b/openbsd/OpenBSDProcess.h @@ -21,7 +21,7 @@ typedef struct OpenBSDProcess_ { #define Process_isUserlandThread(_process) (_process->pid != _process->tgid) -extern ProcessClass OpenBSDProcess_class; +extern const ProcessClass OpenBSDProcess_class; extern ProcessFieldData Process_fields[]; |