From 32e01ad647ff347b0395e2a98863dcc426cd8f72 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 9 Feb 2023 20:28:29 -0500 Subject: Move find_program to common * Add ability to return the path to program --- common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common.h') diff --git a/common.h b/common.h index ccdf7e8..703c3a4 100644 --- a/common.h +++ b/common.h @@ -85,5 +85,6 @@ int mstat_write(FILE *fp, struct mstat_record_t *p); int mstat_iter(FILE *fp, struct mstat_record_t *p); void mstat_get_mmax(const double a[], size_t size, double *min, double *max); double mstat_difftimespec(struct timespec end, struct timespec start); +int mstat_find_program(const char *name, char *where); #endif //MSTAT_COMMON_H -- cgit