[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 3/3] daemon: drop program_name definition



It was previously needed by the 'error' module of gnulib; recent
versions are able to get the name of the current program on their own.
---
 daemon/guestfsd.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/daemon/guestfsd.c b/daemon/guestfsd.c
index b129ad0..85ce5d2 100644
--- a/daemon/guestfsd.c
+++ b/daemon/guestfsd.c
@@ -125,9 +125,6 @@ int autosync_umount = 1;
 /* If set, we are testing the daemon as part of the libguestfs tests. */
 int test_mode = 0;
 
-/* Not used explicitly, but required by the gnulib 'error' module. */
-const char *program_name = "guestfsd";
-
 /* Name of the virtio-serial channel. */
 #define VIRTIO_SERIAL_CHANNEL "/dev/virtio-ports/org.libguestfs.channel.0"
 
-- 
2.7.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]