diff options
Diffstat (limited to 'dpip')
-rw-r--r-- | dpip/dpip.c | 2 | ||||
-rw-r--r-- | dpip/dpip.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dpip/dpip.c b/dpip/dpip.c index ccd11333..c6212db9 100644 --- a/dpip/dpip.c +++ b/dpip/dpip.c @@ -111,7 +111,7 @@ char *a_Dpip_build_cmd(const char *format, ...) * (stuffing of ' is removed here) * Return value: the attribute value, or NULL if not present or malformed. */ -char *a_Dpip_get_attr(char *tag, size_t tagsize, char *attrname) +char *a_Dpip_get_attr(char *tag, size_t tagsize, const char *attrname) { uint_t i, n = 0, found = 0; char *p, *q, *start, *val = NULL; diff --git a/dpip/dpip.h b/dpip/dpip.h index 8a8623bc..29bb5fcf 100644 --- a/dpip/dpip.h +++ b/dpip/dpip.h @@ -23,7 +23,7 @@ char *a_Dpip_build_cmd(const char *format, ...); * (dpip character escaping is removed here) * Return value: the attribute value, or NULL if not present or malformed. */ -char *a_Dpip_get_attr(char *tag, size_t tagsize, char *attrname); +char *a_Dpip_get_attr(char *tag, size_t tagsize, const char *attrname); #ifdef __cplusplus |