Changeset 1433ecda in mainline for uspace/lib/posix/src/stdio/scanf.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/stdio/scanf.c

    r47b2d7e3 r1433ecda  
    9595        int (*undo)(struct __input_provider *);
    9696        /** Lend the cursor to the caller.  */
    97         const char * (*borrow_cursor)(struct __input_provider *);
     97        const char *(*borrow_cursor)(struct __input_provider *);
    9898        /** Take control over possibly incremented cursor and update the internal
    9999          * structures if necessary. */
     
    10011001                                }
    10021002
    1003                                 char * buf = NULL;
     1003                                char *buf = NULL;
    10041004                                size_t buf_size = 0;
    1005                                 char * cur = NULL;
     1005                                char *cur = NULL;
    10061006                                size_t alloc_step = 80; /* Buffer size gain during reallocation. */
    10071007                                int my_buffer_idx = 0;
     
    12161216{
    12171217        _input_provider provider = {
    1218             { 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
    1219             _capture_stream, _pop_stream, _undo_stream,
    1220             _borrow_cursor_universal, _return_cursor_stream, _release_stream
     1218                { 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
     1219                _capture_stream, _pop_stream, _undo_stream,
     1220                _borrow_cursor_universal, _return_cursor_stream, _release_stream
    12211221        };
    12221222        provider.source.stream = stream;
     
    12361236{
    12371237        _input_provider provider = {
    1238             { 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
    1239             _capture_string, _pop_string, _undo_string,
    1240             _borrow_cursor_universal, _return_cursor_string, _release_string
     1238                { 0 }, 0, 0, NULL, 0, NULL, _PROV_CONSTRUCTED,
     1239                _capture_string, _pop_string, _undo_string,
     1240                _borrow_cursor_universal, _return_cursor_string, _release_string
    12411241        };
    12421242        provider.source.string = s;
Note: See TracChangeset for help on using the changeset viewer.