Changeset 6ff23ff in mainline for uspace/lib
- Timestamp:
- 2018-05-17T13:46:56Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f8772d4
- Parents:
- 7c3fb9b
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 18:44:36)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 13:46:56)
- Location:
- uspace/lib
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/mips32/src/syscall.c
r7c3fb9b r6ff23ff 31 31 */ 32 32 /** @file 33 33 * @ingroup libcmips32 34 34 */ 35 35 … … 57 57 "r" (__mips_reg_t1), 58 58 "r" (__mips_reg_v0) 59 60 61 62 59 /* 60 * We are a function call, although C 61 * does not know it. 62 */ 63 63 : "%ra" 64 64 ); -
uspace/lib/c/generic/io/printf_core.c
r7c3fb9b r6ff23ff 1499 1499 1500 1500 switch (uc) { 1501 /*1502 * String and character conversions.1503 */1501 /* 1502 * String and character conversions. 1503 */ 1504 1504 case 's': 1505 1505 precision = max(0, precision); … … 1533 1533 continue; 1534 1534 1535 /*1536 * Floating point values1537 */1535 /* 1536 * Floating point values 1537 */ 1538 1538 case 'G': 1539 1539 case 'g': … … 1554 1554 continue; 1555 1555 1556 /*1557 * Integer values1558 */1556 /* 1557 * Integer values 1558 */ 1559 1559 case 'P': 1560 1560 /* Pointer */ … … 1586 1586 break; 1587 1587 1588 /* Percentile itself */1589 1588 case '%': 1589 /* Percentile itself */ 1590 1590 j = i; 1591 1591 continue; 1592 1592 1593 /*1594 * Bad formatting.1595 */1593 /* 1594 * Bad formatting. 1595 */ 1596 1596 default: 1597 1597 /* -
uspace/lib/posix/src/internal/common.h
r7c3fb9b r6ff23ff 53 53 #define _HIDE_LIBC_SYMBOL(symbol) 54 54 55 /* Checks if the value is a failing error code. 55 /** Checks if the value is a failing error code. 56 * 56 57 * If so, writes the error code to errno and returns true. 57 58 */ -
uspace/lib/usb/src/port.c
r7c3fb9b r6ff23ff 224 224 break; 225 225 226 /* We first have to stop the fibril in progress. */227 226 case PORT_CONNECTING: 227 /* We first have to stop the fibril in progress. */ 228 228 port->state = PORT_ERROR; 229 229 fibril_condvar_broadcast(&port->enabled_cv); -
uspace/lib/usbhid/include/usb/hid/usages/kbdgen.h
r7c3fb9b r6ff23ff 32 32 /** @file 33 33 * @brief USB HID key codes. 34 * @details34 * 35 35 * This is not a typical header as by default it is equal to empty file. 36 36 * However, by cleverly defining the USB_HIDUT_KBD_KEY you can use it … … 39 39 * For example, this creates enum for known keys: 40 40 * @code 41 #define USB_HIDUT_KBD_KEY(name, usage_id, l, lc, l1, l2) \ 42 USB_KBD_KEY_##name = usage_id, 43 typedef enum { 44 #include <usb/hidutkbd.h> 45 } usb_key_code_t; 46 @endcode 41 * #define USB_HIDUT_KBD_KEY(name, usage_id, l, lc, l1, l2) \ 42 * USB_KBD_KEY_##name = usage_id, 43 * 44 * typedef enum { 45 * #include <usb/hidutkbd.h> 46 * } usb_key_code_t; 47 * @endcode 47 48 * 48 49 * Maybe, it might be better that you would place such enums into separate -
uspace/lib/usbhid/src/hidpath.c
r7c3fb9b r6ff23ff 213 213 214 214 switch (flags) { 215 /* Path is somewhere in report_path */216 215 case USB_HID_PATH_COMPARE_ANYWHERE: 216 /* 217 * Path is somewhere in report_path 218 */ 217 219 if (path->depth != 1) { 218 220 return 1; … … 239 241 240 242 return 1; 241 break; 242 243 /* The paths must be identical */ 243 244 244 case USB_HID_PATH_COMPARE_STRICT: 245 /* 246 * The paths must be identical 247 */ 245 248 if (report_path->depth != path->depth) { 246 249 return 1; … … 248 251 /* Fallthrough */ 249 252 250 /* Path is prefix of the report_path */251 253 case USB_HID_PATH_COMPARE_BEGIN: 254 /* 255 * Path is prefix of the report_path 256 */ 252 257 report_link = report_path->items.head.next; 253 258 path_link = path->items.head.next; … … 283 288 break; 284 289 285 /* Path is suffix of report_path */286 290 case USB_HID_PATH_COMPARE_END: 291 /* 292 * Path is suffix of report_path 293 */ 287 294 report_link = report_path->items.head.prev; 288 295 path_link = path->items.head.prev;
Note:
See TracChangeset
for help on using the changeset viewer.