qfile-utils: fix global variables declarations

This commit is contained in:
Marek Marczykowski-Górecki 2013-11-09 19:00:37 +01:00
parent 429211ade4
commit 6eaa30a96a
3 changed files with 4 additions and 6 deletions

View File

@ -1,8 +1,5 @@
#include "qfile-utils.h" #include "qfile-utils.h"
ignore_symlinks = 0;
char *get_abs_path(char *cwd, char *pathname) char *get_abs_path(char *cwd, char *pathname)
{ {
char *ret; char *ret;

View File

@ -1,7 +1,8 @@
#include <qfile-utils.h> #include <qfile-utils.h>
ignore_symlinks = 0; unsigned long crc32_sum;
int ignore_symlinks = 0;
void notify_progress(int size, int flag) void notify_progress(int size, int flag)
{ {

View File

@ -22,8 +22,8 @@ enum {
PROGRESS_FLAG_DONE PROGRESS_FLAG_DONE
}; };
unsigned long crc32_sum; extern unsigned long crc32_sum;
int ignore_symlinks; extern int ignore_symlinks;
void notify_progress(int size, int flag); void notify_progress(int size, int flag);
void do_notify_progress(long long total, int flag); void do_notify_progress(long long total, int flag);