X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.c;h=f194a7c137d8982f7ba8dac3edd205f947071a73;hp=b6861b88bbcb36621109f6d9ac7fe80546a42b35;hb=d4b040af5e31260dbf71f4547484179f32be4746;hpb=b307a25ed895caa33684302b502e9e0e70dc78b7 diff --git a/command.c b/command.c index b6861b88..f194a7c1 100644 --- a/command.c +++ b/command.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2011 Andre Noll + * Copyright (C) 1997-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -11,7 +11,6 @@ #include #include #include -#include #include "para.h" #include "error.h" @@ -24,6 +23,7 @@ #include "server.h" #include "list.h" #include "send.h" +#include "sched.h" #include "vss.h" #include "net.h" #include "daemon.h" @@ -32,7 +32,6 @@ #include "user_list.h" #include "server_command_list.h" #include "afs_command_list.h" -#include "sched.h" #include "signal.h" #include "version.h" @@ -127,7 +126,7 @@ static char *get_status(struct misc_meta_data *nmmd, int parser_friendly) * The calls to WRITE_STATUS_ITEM() below never fail because * b->max_size is zero (unlimited), see para_printf(). However, clang * is not smart enough to prove this and complains nevertheless. - * Casting the return value to void silences solves this. + * Casting the return value to void silences clang. */ (void)WRITE_STATUS_ITEM(&b, SI_FILE_SIZE, "%zu\n", nmmd->size / 1024); (void)WRITE_STATUS_ITEM(&b, SI_MTIME, "%s\n", mtime);