Changeset 95c675b in mainline for kernel/generic/src/console/prompt.c


Ignore:
Timestamp:
2017-10-17T13:11:35Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
60af4cdb
Parents:
dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/prompt.c

    rdbf32b1 r95c675b  
    3737 */
    3838
     39#include <assert.h>
    3940#include <console/prompt.h>
    4041
     
    4950bool console_prompt_display_all_hints(indev_t *indev, size_t hints)
    5051{
    51         ASSERT(indev);
    52         ASSERT(hints > 0);
     52        assert(indev);
     53        assert(hints > 0);
    5354       
    5455        printf("Display all %zu possibilities? (y or n) ", hints);
     
    8182bool console_prompt_more_hints(indev_t *indev, size_t *display_hints)
    8283{
    83         ASSERT(indev);
    84         ASSERT(display_hints != NULL);
     84        assert(indev);
     85        assert(display_hints != NULL);
    8586       
    8687        printf("--More--");
Note: See TracChangeset for help on using the changeset viewer.