aboutsummaryrefslogtreecommitdiff
path: root/lib/libsdp
diff options
context:
space:
mode:
authorMaksim Yevmenkin <emax@FreeBSD.org>2006-06-06 16:58:19 +0000
committerMaksim Yevmenkin <emax@FreeBSD.org>2006-06-06 16:58:19 +0000
commit84ab93062885d0f5124407b6070b66fba5858bba (patch)
treee7c7452cd79cabdedc722362a1eb43c1c2ac9ee0 /lib/libsdp
parent621e4ae168ef6121b27ffd1641ec114707c0c88d (diff)
downloadsrc-84ab93062885d0f5124407b6070b66fba5858bba.tar.gz
src-84ab93062885d0f5124407b6070b66fba5858bba.zip
Fix an unwanted gcc4 warning.
Submitted by: delphij MFC after: 3 days
Notes
Notes: svn path=/head/; revision=159350
Diffstat (limited to 'lib/libsdp')
-rw-r--r--lib/libsdp/sdp.h4
-rw-r--r--lib/libsdp/util.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libsdp/sdp.h b/lib/libsdp/sdp.h
index 2b06b2c18e9c..4e5321f33676 100644
--- a/lib/libsdp/sdp.h
+++ b/lib/libsdp/sdp.h
@@ -529,8 +529,8 @@ int32_t sdp_search (void *xs,
uint32_t alen, uint32_t const *ap,
uint32_t vlen, sdp_attr_t *vp);
-char const * const sdp_attr2desc (uint16_t attr);
-char const * const sdp_uuid2desc (uint16_t uuid);
+char const * sdp_attr2desc (uint16_t attr);
+char const * sdp_uuid2desc (uint16_t uuid);
void sdp_print (uint32_t level, uint8_t const *start,
uint8_t const *end);
diff --git a/lib/libsdp/util.c b/lib/libsdp/util.c
index 7c7330db2860..e034ba003a30 100644
--- a/lib/libsdp/util.c
+++ b/lib/libsdp/util.c
@@ -244,7 +244,7 @@ static sdp_attr_desc_t sdp_attrs_desc[] = {
{ 0xffff, NULL, }
};
-char const * const
+char const *
sdp_attr2desc(uint16_t attr)
{
register sdp_attr_desc_p a = sdp_attrs_desc;
@@ -256,7 +256,7 @@ sdp_attr2desc(uint16_t attr)
return ((a->desc != NULL)? a->desc : "Unknown");
}
-char const * const
+char const *
sdp_uuid2desc(uint16_t uuid)
{
register sdp_attr_desc_p a = sdp_uuids_desc;