diff --git a/qubes-rpc/qfile-agent.c b/qubes-rpc/qfile-agent.c index f4c3586..2eb8205 100644 --- a/qubes-rpc/qfile-agent.c +++ b/qubes-rpc/qfile-agent.c @@ -1,8 +1,5 @@ - #include "qfile-utils.h" -ignore_symlinks = 0; - char *get_abs_path(char *cwd, char *pathname) { char *ret; diff --git a/qubes-rpc/qfile-utils.c b/qubes-rpc/qfile-utils.c index 6c1a895..6e62882 100644 --- a/qubes-rpc/qfile-utils.c +++ b/qubes-rpc/qfile-utils.c @@ -1,7 +1,8 @@ #include -ignore_symlinks = 0; +unsigned long crc32_sum; +int ignore_symlinks = 0; void notify_progress(int size, int flag) { diff --git a/qubes-rpc/qfile-utils.h b/qubes-rpc/qfile-utils.h index 3bb5b18..389c74a 100644 --- a/qubes-rpc/qfile-utils.h +++ b/qubes-rpc/qfile-utils.h @@ -22,8 +22,8 @@ enum { PROGRESS_FLAG_DONE }; -unsigned long crc32_sum; -int ignore_symlinks; +extern unsigned long crc32_sum; +extern int ignore_symlinks; void notify_progress(int size, int flag); void do_notify_progress(long long total, int flag);