1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Fix prototypes for daemon_send_simple (const char).

This commit is contained in:
Petr Rockai 2012-01-15 15:16:50 +00:00
parent 921de583f4
commit e3b4fe6ed2
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ void daemon_reply_destroy(daemon_reply r) {
dm_config_destroy(r.cft);
}
daemon_reply daemon_send_simple(daemon_handle h, char *id, ...)
daemon_reply daemon_send_simple(daemon_handle h, const char *id, ...)
{
static const daemon_reply err = { .error = ENOMEM, .buffer = NULL, .cft = NULL };
daemon_request rq = { .cft = NULL };

View File

@ -77,7 +77,7 @@ daemon_reply daemon_send(daemon_handle h, daemon_request r);
* type (string, integer) of the value is indicated by a character substituted
* for ? in %?: d for integer, s for string.
*/
daemon_reply daemon_send_simple(daemon_handle h, char *id, ...);
daemon_reply daemon_send_simple(daemon_handle h, const char *id, ...);
void daemon_reply_destroy(daemon_reply r);