qfile-dom0-unpacker: add a few consts where appropriate

This commit is contained in:
Vincent Penquerc'h 2014-01-12 06:38:53 -05:00 committed by Marek Marczykowski-Górecki
parent 13483691af
commit fa8ef4b4fc

View File

@ -18,7 +18,7 @@ void notify_progress(int p1, int p2)
{ {
} }
int prepare_creds_return_uid(char *username) int prepare_creds_return_uid(const char *username)
{ {
struct passwd *pwd; struct passwd *pwd;
// First try name // First try name
@ -41,7 +41,7 @@ int prepare_creds_return_uid(char *username)
int main(int argc, char ** argv) int main(int argc, char ** argv)
{ {
char *incoming_dir; const char *incoming_dir;
int uid; int uid;
char *var; char *var;
long long files_limit = DEFAULT_MAX_UPDATES_FILES; long long files_limit = DEFAULT_MAX_UPDATES_FILES;