Skip to content

Commit

Permalink
Make prepare_creds_return_dir() static
Browse files Browse the repository at this point in the history
Fixes a compiler warning.

(cherry picked from commit a29d528)
  • Loading branch information
DemiMarie authored and marmarek committed Jun 22, 2024
1 parent ee6ea49 commit 134a5a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes-rpc/qfile-unpacker.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#define INCOMING_DIR_NAME "QubesIncoming"

char *prepare_creds_return_dir(int uid)
static char *prepare_creds_return_dir(uid_t uid)
{
const struct passwd *pwd;
uid_t myuid = getuid();
Expand Down

0 comments on commit 134a5a0

Please sign in to comment.