aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/omc.h1
-rw-r--r--include/system.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/omc.h b/include/omc.h
index 6c4821f..432d88a 100644
--- a/include/omc.h
+++ b/include/omc.h
@@ -13,6 +13,7 @@ struct OMC_GLOBAL {
unsigned char verbose;
unsigned char always_update_base_environment;
unsigned char continue_on_error;
+ char *tmpdir;
};
#include "utils.h"
diff --git a/include/system.h b/include/system.h
index d744726..32c7c79 100644
--- a/include/system.h
+++ b/include/system.h
@@ -24,6 +24,6 @@ struct Process {
int shell(struct Process *proc, char *args[]);
int shell2(struct Process *proc, char *args);
int shell_safe(struct Process *proc, char *args[]);
-char *shell_output(const char *command);
+char *shell_output(const char *command, int *status);
#endif //OMC_SYSTEM_H