From a5e5092c13d90bfd7b9df15be54e0ca2ba57c899 Mon Sep 17 00:00:00 2001 From: josch Date: Sat, 6 Dec 2014 11:04:11 +0100 Subject: [PATCH] fix includes --- mfshell/commands/auth.c | 2 +- mfshell/commands/changes.c | 1 - mfshell/commands/chdir.c | 1 - mfshell/commands/file.c | 1 - mfshell/commands/folder.c | 1 - mfshell/commands/get.c | 1 - mfshell/commands/links.c | 1 - mfshell/commands/list.c | 1 - mfshell/commands/mkdir.c | 1 - mfshell/commands/put.c | 1 - mfshell/commands/rm.c | 1 - mfshell/commands/rmdir.c | 1 - mfshell/commands/status.c | 1 - mfshell/commands/updates.c | 1 - mfshell/commands/whoami.c | 1 - 15 files changed, 1 insertion(+), 15 deletions(-) diff --git a/mfshell/commands/auth.c b/mfshell/commands/auth.c index a78c28f..5f66cf6 100644 --- a/mfshell/commands/auth.c +++ b/mfshell/commands/auth.c @@ -61,7 +61,7 @@ int mfshell_cmd_auth(mfshell * mfshell, int argc, char *const argv[]) return -1; mfshell->conn = mfconn_create(mfshell->server, username, password, - mfshell->app_id, mfshell->app_key); + mfshell->app_id, mfshell->app_key, 3); if (mfshell->conn != NULL) printf("\n\rAuthentication SUCCESS\n\r"); diff --git a/mfshell/commands/changes.c b/mfshell/commands/changes.c index beae422..10a27b4 100644 --- a/mfshell/commands/changes.c +++ b/mfshell/commands/changes.c @@ -24,7 +24,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_changes(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/chdir.c b/mfshell/commands/chdir.c index cf9393a..380dbf0 100644 --- a/mfshell/commands/chdir.c +++ b/mfshell/commands/chdir.c @@ -23,7 +23,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" #include "../../mfapi/folder.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_chdir(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/file.c b/mfshell/commands/file.c index de834b4..3ae7cc6 100644 --- a/mfshell/commands/file.c +++ b/mfshell/commands/file.c @@ -23,7 +23,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" #include "../../mfapi/file.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_file(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/folder.c b/mfshell/commands/folder.c index f2c1266..08b6fed 100644 --- a/mfshell/commands/folder.c +++ b/mfshell/commands/folder.c @@ -29,7 +29,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" #include "../../mfapi/folder.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep #define max_time_len 20 diff --git a/mfshell/commands/get.c b/mfshell/commands/get.c index c4619c2..b8741af 100644 --- a/mfshell/commands/get.c +++ b/mfshell/commands/get.c @@ -29,7 +29,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" #include "../../mfapi/file.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep #include "../../utils/strings.h" #include "../../utils/http.h" diff --git a/mfshell/commands/links.c b/mfshell/commands/links.c index 685800d..c21cb18 100644 --- a/mfshell/commands/links.c +++ b/mfshell/commands/links.c @@ -23,7 +23,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" #include "../../mfapi/file.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_links(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/list.c b/mfshell/commands/list.c index c86ba56..d3b2536 100644 --- a/mfshell/commands/list.c +++ b/mfshell/commands/list.c @@ -22,7 +22,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" -#include "../../mfapi/mfconn.h" #include "../../mfapi/folder.h" #include "../../mfapi/file.h" #include "../commands.h" // IWYU pragma: keep diff --git a/mfshell/commands/mkdir.c b/mfshell/commands/mkdir.c index e658022..5b62ac9 100644 --- a/mfshell/commands/mkdir.c +++ b/mfshell/commands/mkdir.c @@ -22,7 +22,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" #include "../../mfapi/folder.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_mkdir(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/put.c b/mfshell/commands/put.c index 6b78e61..ea303ec 100644 --- a/mfshell/commands/put.c +++ b/mfshell/commands/put.c @@ -26,7 +26,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" -#include "../../mfapi/mfconn.h" #include "../../mfapi/folder.h" #include "../commands.h" // IWYU pragma: keep diff --git a/mfshell/commands/rm.c b/mfshell/commands/rm.c index 209afc4..a32eb64 100644 --- a/mfshell/commands/rm.c +++ b/mfshell/commands/rm.c @@ -22,7 +22,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_rm(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/rmdir.c b/mfshell/commands/rmdir.c index dd1aa46..9f6a443 100644 --- a/mfshell/commands/rmdir.c +++ b/mfshell/commands/rmdir.c @@ -22,7 +22,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_rmdir(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/status.c b/mfshell/commands/status.c index 939aa5c..f332816 100644 --- a/mfshell/commands/status.c +++ b/mfshell/commands/status.c @@ -23,7 +23,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_status(mfshell * mfshell, int argc, char *const argv[]) diff --git a/mfshell/commands/updates.c b/mfshell/commands/updates.c index 48feec7..11fcae0 100644 --- a/mfshell/commands/updates.c +++ b/mfshell/commands/updates.c @@ -24,7 +24,6 @@ #include #include "../../mfapi/apicalls.h" -#include "../../mfapi/mfconn.h" #include "../../mfapi/patch.h" #include "../mfshell.h" #include "../commands.h" // IWYU pragma: keep diff --git a/mfshell/commands/whoami.c b/mfshell/commands/whoami.c index d4c3204..b0253c6 100644 --- a/mfshell/commands/whoami.c +++ b/mfshell/commands/whoami.c @@ -21,7 +21,6 @@ #include "../../mfapi/apicalls.h" #include "../mfshell.h" -#include "../../mfapi/mfconn.h" #include "../commands.h" // IWYU pragma: keep int mfshell_cmd_whoami(mfshell * mfshell, int argc, char *const argv[])