Skip to content

Align stuctures for 64-bit platforms #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions atopsar.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ static char *datemsg = "-------------------------- analysis "
/*
** structure definition for print-functions
*/
struct pridef {
char wanted; /* selected option (boolean) */
struct pridef {
char *cntcat; /* used categories of counters */
char wanted; /* selected option (boolean) */
char flag; /* flag on command line */
void (*prihead)(int, int, int); /* print header of list */
int (*priline)(struct sstat *, struct tstat *, struct tstat **,
Expand Down
2 changes: 1 addition & 1 deletion drawbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ static WINDOW *headwin, *midline, *colupper, *collower;
#define MAXHEIGHT 25 // maximum bar height in lines

struct vertval {
int barval; // total value of bar
char *barlab; // bar label
int barval; // total value of bar
char basecolor; // bar color or fill color

char barmap[MAXHEIGHT]; // color map
Expand Down
2 changes: 1 addition & 1 deletion showgeneric.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@


struct syscap {
int nrcpu;
count_t availcpu;
count_t availmem;
count_t availdsk;
count_t availnet;
int nrcpu;
int nrgpu;
count_t availgpumem; // GPU memory in Kb!
int nrmemnuma;
Expand Down
4 changes: 2 additions & 2 deletions showlinux.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ typedef struct {
int noverflow;
int avgval;
int nsecs;
int index;
count_t mstot;
count_t iotot;
struct perdsk *perdsk;
int index;
count_t cputot;
struct perdsk *perdsk;
count_t pernumacputot;
count_t percputot;
} extraparam;
Expand Down