mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 04:04:35 +03:00
Solaris: reduce function scopes
This commit is contained in:

committed by
cgzones

parent
6b57898034
commit
27be880d0f
@ -31,7 +31,7 @@ in the source distribution for its full text.
|
||||
static int pageSize;
|
||||
static int pageSizeKB;
|
||||
|
||||
char* SolarisProcessList_readZoneName(kstat_ctl_t* kd, SolarisProcess* sproc) {
|
||||
static char* SolarisProcessList_readZoneName(kstat_ctl_t* kd, SolarisProcess* sproc) {
|
||||
char* zname;
|
||||
|
||||
if ( sproc->zoneid == 0 ) {
|
||||
@ -302,7 +302,7 @@ void ProcessList_delete(ProcessList* pl) {
|
||||
* system for more info.
|
||||
*/
|
||||
|
||||
int SolarisProcessList_walkproc(psinfo_t* _psinfo, lwpsinfo_t* _lwpsinfo, void* listptr) {
|
||||
static int SolarisProcessList_walkproc(psinfo_t* _psinfo, lwpsinfo_t* _lwpsinfo, void* listptr) {
|
||||
bool preExisting;
|
||||
pid_t getpid;
|
||||
|
||||
|
Reference in New Issue
Block a user