diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-15 19:44:48 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-12-19 21:13:32 +0100 |
commit | 89473cc9ae950bbb5e291d1f186d372f66f66394 (patch) | |
tree | d1e21dbd0df28c00c467695711c8dde884e746a1 /unsupported/UnsupportedProcess.h | |
parent | d872e363081a892d65dede6a90721d3a2e8b0ee6 (diff) |
Rework enum ProcessField
Use only one enum instead of a global and a platform specific one.
Drop Platform_numberOfFields global variable.
Set known size of Process_fields array
Diffstat (limited to 'unsupported/UnsupportedProcess.h')
-rw-r--r-- | unsupported/UnsupportedProcess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/UnsupportedProcess.h b/unsupported/UnsupportedProcess.h index 8c220944..a9be326e 100644 --- a/unsupported/UnsupportedProcess.h +++ b/unsupported/UnsupportedProcess.h @@ -11,7 +11,7 @@ in the source distribution for its full text. #define Process_delete UnsupportedProcess_delete -extern ProcessFieldData Process_fields[]; +extern ProcessFieldData Process_fields[LAST_PROCESSFIELD]; Process* UnsupportedProcess_new(Settings* settings); |