From 8772228ceb4e0432b95ab89fa879ae02bc1aad97 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 22 Apr 2007 19:57:34 +0000 Subject: [PATCH] un-static proc_args_create --- include/sigar_private.h | 2 ++ src/sigar.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/sigar_private.h b/include/sigar_private.h index ee207618..e1ec1744 100644 --- a/include/sigar_private.h +++ b/include/sigar_private.h @@ -176,6 +176,8 @@ int sigar_proc_list_grow(sigar_proc_list_t *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); #define SIGAR_PROC_ARGS_GROW(procargs) \ diff --git a/src/sigar.c b/src/sigar.c index 0ddcb101..621fb719 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -537,7 +537,7 @@ SIGAR_DECLARE(int) sigar_proc_list_get(sigar_t *sigar, 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->size = SIGAR_PROC_ARGS_MAX;