diff --git a/src/apcups.c b/src/apcups.c
index 29d58c3ad6e0a2d1b2038bf6433d078113fe0497..b4bc0997e6c3e7d309d13e23225edef31ca7f465 100644 (file)
--- a/src/apcups.c
+++ b/src/apcups.c
* Returns zero on success
* Returns non-zero on error
*/
-static int net_send (int *sockfd, char *buff, int len)
+static int net_send (int *sockfd, const char *buff, int len)
{
uint16_t packet_size;
return (0);
} /* int apcups_config */
-static void apc_submit_generic (char *type, char *type_inst, double value)
+static void apc_submit_generic (const char *type, const char *type_inst, double value)
{
value_t values[1];
value_list_t vl = VALUE_LIST_INIT;