mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-23 21:35:29 +03:00
Fix prototypes for daemon_send_simple (const char).
This commit is contained in:
parent
921de583f4
commit
e3b4fe6ed2
@ -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 };
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user