Changeset 1efe89b in mainline


Ignore:
Timestamp:
2011-03-05T20:07:11Z (13 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6bb456c
Parents:
00db345a
Message:

First parameter to usb_debug_str_buffer() made constant.

Location:
uspace/lib/usb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/debug.h

    r00db345a r1efe89b  
    7979        usb_log_printf(USB_LOG_LEVEL_DEBUG2, format, ##__VA_ARGS__)
    8080
    81 const char *usb_debug_str_buffer(uint8_t *, size_t, size_t);
     81const char *usb_debug_str_buffer(const uint8_t *, size_t, size_t);
    8282
    8383
  • uspace/lib/usb/src/debug.c

    r00db345a r1efe89b  
    281281 * @return Dumped buffer as a static (but fibril local) string.
    282282 */
    283 const char *usb_debug_str_buffer(uint8_t *buffer, size_t size,
     283const char *usb_debug_str_buffer(const uint8_t *buffer, size_t size,
    284284    size_t dumped_size)
    285285{
Note: See TracChangeset for help on using the changeset viewer.