aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-10 18:43:26 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-10 19:08:42 +0530
commited16154d1b8fed24afb32e12262210422ef99ef2 (patch)
tree7c22ad1cce20fe61bb8f04ba56769003294c298b /include
parent9386c1f2519abd8b4351fc97419c41182389a1f6 (diff)
jobs/job_read_cache: switch to nix-build dry run
Diffstat (limited to 'include')
-rw-r--r--include/util.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/util.h b/include/util.h
index 1ffe148..4d0cb51 100644
--- a/include/util.h
+++ b/include/util.h
@@ -13,13 +13,11 @@
(cur) = (next); \
}
-typedef enum {
- VPOPEN_STDERR,
- VPOPEN_STDOUT
-} vpopen_t;
+typedef enum { VPOPEN_STDERR, VPOPEN_STDOUT } vpopen_t;
int vpopen(FILE **stream, const char *file, char *const argv[], vpopen_t type);
int json_streaming_read(FILE *stream, cJSON **json);
int atob(const char *s);
int run(const char *file, char *argv[]);
+char *trim(char *s);