Fix an unwanted gcc4 warning.

Submitted by:	delphij
MFC after:	3 days
This commit is contained in:
emax 2006-06-06 16:58:19 +00:00
parent f22f333d75
commit 023ff94b67
2 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;