public inbox for
help / color / mirror / Atom feed
Subject: LVM2/lib/metadata lv_manip.c metadata-exported.h
Date: Mon, 06 Aug 2007 09:04:00 -0000	[thread overview]
Message-ID: <> (raw)

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	2007-08-06 09:04:22

Modified files:
	lib/metadata   : lv_manip.c metadata-exported.h 

Log message:
	Make lv_rename's interface "const correct".
	* lib/metadata/lv_manip.c (lv_rename): Make char* param "const".
	* lib/metadata/metadata-exported.h: Update prototype, too.


--- LVM2/lib/metadata/lv_manip.c	2007/08/03 21:22:09	1.116
+++ LVM2/lib/metadata/lv_manip.c	2007/08/06 09:04:21	1.117
@@ -1466,7 +1466,7 @@
  * Returns 0 on failure, 1 on success.
 int lv_rename(struct cmd_context *cmd, struct logical_volume *lv,
-	      char *newname)
+	      const char *newname)
 	struct volume_group *vg = lv->vg;
--- LVM2/lib/metadata/metadata-exported.h	2007/08/03 21:22:09	1.4
+++ LVM2/lib/metadata/metadata-exported.h	2007/08/06 09:04:21	1.5
@@ -357,7 +357,7 @@
 int lv_remove(struct logical_volume *lv);
 int lv_rename(struct cmd_context *cmd, struct logical_volume *lv,
-	      char *newname);
+	      const char *newname);
 /* Find a PV within a given VG */
 struct pv_list *find_pv_in_vg(struct volume_group *vg, const char *pv_name);

                 reply	other threads:[~2007-08-06  9:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).