Atoptool / atop

System and process monitor for Linux
GNU General Public License v2.0
792 stars 109 forks source link

Replace non-standard "ushort" type with "unsigned short" #283

Closed kappa closed 9 months ago

kappa commented 9 months ago

"ushort" is a typedef provided for System V compatibility in "sys/types.h" by most Linux toolchains. Android sys/types.h does not have it.

All other parts of Atop use the standard "unsigned short" type.

There are no downsides to the change and the upside is better compatibility by following the standard.