/* libguestfs - the guestfsd daemon
- * Copyright (C) 2009 Red Hat Inc.
+ * Copyright (C) 2009 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include "actions.h"
char *
-do_df ()
+do_df (void)
{
int r;
char *out, *err;
- NEED_ROOT (NULL);
+ NEED_ROOT (return NULL);
r = command (&out, &err, "df", NULL);
if (r == -1) {
}
char *
-do_df_h ()
+do_df_h (void)
{
int r;
char *out, *err;
- NEED_ROOT (NULL);
+ NEED_ROOT (return NULL);
r = command (&out, &err, "df", "-h", NULL);
if (r == -1) {