summaryrefslogtreecommitdiffhomepage
path: root/src/sys.c
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-27 18:15:26 -0600
committerGitHub <noreply@github.com>2026-11-27 18:15:26 -0600
commit83e8fbc692b36be5ac9011ccf26b1b232d560008 (patch)
treeab62a06c6a49b343b33d41b502487b233128ad80 /src/sys.c
parent4c95e6490d189b47cad050744de9768465e0307b (diff)
parentb5bb63d4760f6f6e0282fc9f7eec36b41705458c (diff)
downloadztop-main.tar.gz
Merge pull request #7 from skurtz97/feature/views-and-dec-glyphsHEADmain
views: PS, FS and LOG, and a DEC-graphics frame
Diffstat (limited to 'src/sys.c')
-rw-r--r--src/sys.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sys.c b/src/sys.c
index 6618841..3fd0819 100644
--- a/src/sys.c
+++ b/src/sys.c
@@ -60,7 +60,7 @@ static unsigned int nib(uint32_t v, unsigned int shift) {
return (v >> shift) & 0xFu;
}
-bool zipl_decode(uint32_t date, uint32_t hundredths, struct zipl *out) {
+bool zipl_decode(uint32_t date, uint32_t hundredths, zipl *out) {
static const unsigned int mdays[12] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31,
};
@@ -96,7 +96,7 @@ bool zipl_decode(uint32_t date, uint32_t hundredths, struct zipl *out) {
return true;
}
-bool zsys_read(struct zsys *z) {
+bool zsys_read(zsys *z) {
#ifdef __MVS__
uintptr_t cvt, asvt;
uint32_t maxu, entry;
@@ -112,7 +112,7 @@ bool zsys_read(struct zsys *z) {
maxu = rd32(asvt + 0x204);
z->slots = maxu > 0x10000 ? 0x10000 : maxu;
for (i = 0; i < z->slots && z->njobs < ZJOB_MAX; i++) {
- struct zjob *j = &z->job[z->njobs];
+ zjob *j = &z->job[z->njobs];
uint32_t namep;
entry = rd32(asvt + 0x210 + (uintptr_t)i * 4);
@@ -140,7 +140,7 @@ bool zsys_read(struct zsys *z) {
#endif
}
-bool zpage_read(struct zpage *p) {
+bool zpage_read(zpage *p) {
#ifdef __MVS__
uintptr_t cvt = rd32(0x10);
uintptr_t asmvt;