diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-01-12 17:31:56 -0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-02-01 11:16:36 +1100 |
commit | 9793f862467407e83aa5b5a2cc35c25de9bae17b (patch) | |
tree | 99f061bff07fbcf741fc3bb5168e8afa88c4d171 /discover/pb-discover.c | |
parent | 44fe1998097c50802eeac0a831b0b730809ac4b0 (diff) | |
download | talos-petitboot-9793f862467407e83aa5b5a2cc35c25de9bae17b.tar.gz talos-petitboot-9793f862467407e83aa5b5a2cc35c25de9bae17b.zip |
Fix build warnings
Fix various minor build warnings:
lib/pb-protocol/pb-protocol.c:72: warning: comparison between signed and unsigned
lib/pb-protocol/pb-protocol.c:78: warning: comparison between signed and unsigned
lib/pb-protocol/pb-protocol.c:141: warning: unused parameter 'buf_len'
lib/pb-protocol/pb-protocol.c:241: warning: comparison between signed and unsigned
discover/pb-discover.c:14: warning: no previous prototype for 'sigint_handler'
discover/pb-discover.c:13: warning: unused parameter 'signum'
discover/log.c:22: warning: no previous prototype for 'pb_log_set_stream'
discover/discover-server.c:159: warning: no previous prototype for 'discover_server_notify_add'
discover/discover-server.c:169: warning: no previous prototype for 'discover_server_notify_remove'
discover/discover-server.c:179: warning: no previous prototype for 'discover_server_set_device_source'
discover/discover-server.c:184: warning: no previous prototype for 'discover_server_init'
discover/discover-server.c:229: warning: no previous prototype for 'discover_server_destroy'
discover/device-handler.c:395: warning: comparison between signed and unsigned
discover/paths.c:44: warning: comparison between signed and unsigned
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/pb-discover.c')
-rw-r--r-- | discover/pb-discover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/pb-discover.c b/discover/pb-discover.c index 024cb30..56602d9 100644 --- a/discover/pb-discover.c +++ b/discover/pb-discover.c @@ -10,7 +10,7 @@ static int running; -void sigint_handler(int signum) +static void sigint_handler(int __attribute__((unused)) signum) { running = 0; } |