remove the _t postfix from type names because POSIX reserves types ending in _t

This commit is contained in:
josch
2014-09-19 23:13:29 +02:00
parent e0ee1e5f8f
commit 4b2563d800
34 changed files with 294 additions and 294 deletions

View File

@@ -26,9 +26,9 @@
#include "../../mfapi/apicalls.h"
int
mfshell_cmd_links(mfshell_t *mfshell, int argc, char **argv)
mfshell_cmd_links(mfshell *mfshell, int argc, char **argv)
{
file_t *file;
mffile *file;
int len;
int retval;
const char *quickkey;
@@ -52,11 +52,11 @@ mfshell_cmd_links(mfshell_t *mfshell, int argc, char **argv)
file = file_alloc();
retval = mfconn_api_file_get_links(mfshell->mfconn,file,(char*)quickkey);
retval = mfconn_api_file_get_links(mfshell->conn,file,(char*)quickkey);
if (retval != 0) {
fprintf(stderr, "api call unsuccessful\n");
}
mfconn_update_secret_key(mfshell->mfconn);
mfconn_update_secret_key(mfshell->conn);
share_link = file_get_share_link(file);
direct_link = file_get_direct_link(file);