mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
avoid warning about old-style no-param function definition
* daemon/df.c (do_df, do_df_h): Add "void". * sync.c (do_sync): Likewise.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
#include "actions.h"
|
||||
|
||||
char *
|
||||
do_df ()
|
||||
do_df (void)
|
||||
{
|
||||
int r;
|
||||
char *out, *err;
|
||||
@@ -49,7 +49,7 @@ do_df ()
|
||||
}
|
||||
|
||||
char *
|
||||
do_df_h ()
|
||||
do_df_h (void)
|
||||
{
|
||||
int r;
|
||||
char *out, *err;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include "actions.h"
|
||||
|
||||
int
|
||||
do_sync ()
|
||||
do_sync (void)
|
||||
{
|
||||
sync ();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user