un-static proc_args_create

This commit is contained in:
Doug MacEachern 2007-04-22 19:57:34 +00:00
parent 983cb0d831
commit 8772228ceb
2 changed files with 3 additions and 1 deletions

View File

@ -176,6 +176,8 @@ int sigar_proc_list_grow(sigar_proc_list_t *proclist);
sigar_proc_list_grow(proclist); \ sigar_proc_list_grow(proclist); \
} }
int sigar_proc_args_create(sigar_proc_args_t *proclist);
int sigar_proc_args_grow(sigar_proc_args_t *procargs); int sigar_proc_args_grow(sigar_proc_args_t *procargs);
#define SIGAR_PROC_ARGS_GROW(procargs) \ #define SIGAR_PROC_ARGS_GROW(procargs) \

View File

@ -537,7 +537,7 @@ SIGAR_DECLARE(int) sigar_proc_list_get(sigar_t *sigar,
return sigar_os_proc_list_get(sigar, proclist); return sigar_os_proc_list_get(sigar, proclist);
} }
static int sigar_proc_args_create(sigar_proc_args_t *procargs) int sigar_proc_args_create(sigar_proc_args_t *procargs)
{ {
procargs->number = 0; procargs->number = 0;
procargs->size = SIGAR_PROC_ARGS_MAX; procargs->size = SIGAR_PROC_ARGS_MAX;