add const qualifiers to some variables

This commit is contained in:
josch
2014-09-21 15:59:52 +02:00
parent 675679acf7
commit 08c067a352
33 changed files with 123 additions and 98 deletions

View File

@@ -22,36 +22,52 @@
#include "mfshell.h"
int mfshell_cmd_help(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_help(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_debug(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_debug(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_host(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_host(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_auth(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_auth(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_whomai(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_whomai(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_list(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_list(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_chdir(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_chdir(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_pwd(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_pwd(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_lpwd(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_lpwd(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_lcd(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_lcd(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_file(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_file(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_links(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_links(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_mkdir(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_mkdir(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_get(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_get(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_whoami(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_whoami(mfshell * mfshell, int argc,
char *const argv[]);
int mfshell_cmd_rmdir(mfshell * mfshell, int argc, char **argv);
int mfshell_cmd_rmdir(mfshell * mfshell, int argc,
char *const argv[]);
#endif