aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 19:20:05 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:51 -0700
commite3ac6a123a442cf9d1f9147b122f21a1f3f1ebb2 (patch)
treeb95dcfd1ea1e2b78b9c07371a3ce3a61aec9a7e7 /src/update.h
parent1d59716731f3ed8569d60ae84c291bd93eb7d582 (diff)
downloadmpd-e3ac6a123a442cf9d1f9147b122f21a1f3f1ebb2.tar.gz
mpd-e3ac6a123a442cf9d1f9147b122f21a1f3f1ebb2.tar.xz
mpd-e3ac6a123a442cf9d1f9147b122f21a1f3f1ebb2.zip
update: make the job id unsigned
Since the return value cannot be -1 anymore, we can make it unsigned.
Diffstat (limited to 'src/update.h')
-rw-r--r--src/update.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update.h b/src/update.h
index 5c7277e32..0842c0df0 100644
--- a/src/update.h
+++ b/src/update.h
@@ -20,14 +20,14 @@
#ifndef UPDATE_H
#define UPDATE_H
-int isUpdatingDB(void);
+unsigned isUpdatingDB(void);
/*
* returns the positive update job ID on success,
* returns 0 if busy
* @path will be freed by this function and should not be reused
*/
-int directory_update_init(char *path);
+unsigned directory_update_init(char *path);
void reap_update_task(void);