qfile-dom0-unpacker: add a few consts where appropriate
This commit is contained in:
parent
13483691af
commit
fa8ef4b4fc
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user