Changeset 98000fb in mainline for kernel/generic/include/console


Ignore:
Timestamp:
2009-06-03T19:34:45Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

Location:
kernel/generic/include/console
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/console/chardev.h

    r69e68e3 r98000fb  
    5858        SPINLOCK_DECLARE(lock);
    5959        wchar_t buffer[INDEV_BUFLEN];
    60         count_t counter;
     60        size_t counter;
    6161       
    6262        /** Implementation of indev operations. */
    6363        indev_operations_t *op;
    64         index_t index;
     64        size_t index;
    6565        void *data;
    6666} indev_t;
  • kernel/generic/include/console/console.h

    r69e68e3 r98000fb  
    5050
    5151extern wchar_t getc(indev_t *indev);
    52 extern count_t gets(indev_t *indev, char *buf, size_t buflen);
     52extern size_t gets(indev_t *indev, char *buf, size_t buflen);
    5353extern unative_t sys_klog(int fd, const void *buf, size_t size);
    5454
  • kernel/generic/include/console/kconsole.h

    r69e68e3 r98000fb  
    7878        int (* func)(cmd_arg_t *);
    7979        /** Number of arguments. */
    80         count_t argc;
     80        size_t argc;
    8181        /** Argument vector. */
    8282        cmd_arg_t *argv;
Note: See TracChangeset for help on using the changeset viewer.