Commit d83c0339 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix build on Windows

parent f97d36cd
......@@ -54,7 +54,6 @@ char *mkString(const char *fmt, ...) {
char *quote(char *str) {
char *quotedStr;
char *p;
int i;
quotedStr = malloc(2 * strlen(str) + 2 + 1);
if (quotedStr == NULL) {
......@@ -74,7 +73,7 @@ char *quote(char *str) {
return quotedStr;
}
int run(char *exePath, int numArgs1, char **args1, int numArgs2, char **args2) {
__attribute__((noreturn)) int run(char *exePath, int numArgs1, char **args1, int numArgs2, char **args2) {
char **p;
char **newArgv;
int i, ret;
......
void die(const char *fmt, ...);
char *mkString(const char *fmt, ...);
int run(char *exePath, int numArgs1, char **args1, int numArgs2, char **args2);
__attribute__((noreturn)) int run(char *exePath, int numArgs1, char **args1, int numArgs2, char **args2);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment