libusbgx: Mark char pointers in usbg_*_attrs as const
authorDominic Sacré <dominic.sacre@gmx.de>
Mon, 11 May 2015 16:28:47 +0000 (18:28 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 22 Dec 2015 20:45:36 +0000 (21:45 +0100)
commit52e41b29fc97338cb6182991cc6abfd6a109c2a9
treea31ab8d12392da5cdb84f662d4ccf91fbf8e6714
parentaf4cb669253c6520b06e82883c81450b8cc05264
libusbgx: Mark char pointers in usbg_*_attrs as const

These attributes are const as far as a library user is concerned.
This change allows attributes to be cleanly initialized from string
literals.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Reviewed-by: Pawel Szewczyk <p.szewczyk@samsung.com>
[Update description]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
include/usbg/usbg.h
src/usbg.c