public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/tools toollib.c lvmcmdline.c
@ 2006-10-02 16:15 agk
  0 siblings, 0 replies; 2+ messages in thread
From: agk @ 2006-10-02 16:15 UTC (permalink / raw)
  To: lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2006-10-02 16:15:03

Modified files:
	tools          : toollib.c lvmcmdline.c 

Log message:
	Fix compiler warnings in percent arg.  [pjc]

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.89&r2=1.90
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/lvmcmdline.c.diff?cvsroot=lvm2&r1=1.35&r2=1.36

--- LVM2/tools/toollib.c	2006/09/26 09:35:43	1.89
+++ LVM2/tools/toollib.c	2006/10/02 16:15:03	1.90
@@ -70,7 +70,7 @@
 	return arg_count(cmd, a) ? cmd->args[a].sign : def;
 }
 
-sign_t arg_percent_value(struct cmd_context *cmd, int a, const percent_t def)
+percent_t arg_percent_value(struct cmd_context *cmd, int a, const percent_t def)
 {
 	return arg_count(cmd, a) ? cmd->args[a].percent : def;
 }
--- LVM2/tools/lvmcmdline.c	2006/09/26 09:35:43	1.35
+++ LVM2/tools/lvmcmdline.c	2006/10/02 16:15:03	1.36
@@ -54,7 +54,7 @@
  */
 struct arg the_args[ARG_COUNT + 1] = {
 
-#define arg(a, b, c, d) {b, "", "--" c, d, 0, NULL, 0, 0, INT64_C(0), UINT64_C(0), 0, NULL},
+#define arg(a, b, c, d) {b, "", "--" c, d, 0, NULL, 0, 0, INT64_C(0), UINT64_C(0), SIGN_NONE, PERCENT_NONE, NULL},
 #include "args.h"
 #undef arg
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* LVM2/tools toollib.c lvmcmdline.c
@ 2004-05-11 18:45 agk
  0 siblings, 0 replies; 2+ messages in thread
From: agk @ 2004-05-11 18:45 UTC (permalink / raw)
  To: lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2004-05-11 18:45:12

Modified files:
	tools          : toollib.c lvmcmdline.c 

Log message:
	indent

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.54&r2=1.55
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/tools/lvmcmdline.c.diff?cvsroot=lvm2&r1=1.11&r2=1.12


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-02 16:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-02 16:15 LVM2/tools toollib.c lvmcmdline.c agk
  -- strict thread matches above, loose matches on Subject: below --
2004-05-11 18:45 agk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).