Changeset 404464a in mainline


Ignore:
Timestamp:
2008-12-23T19:49:49Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c0adbc
Parents:
e64c4b2
Message:

Get rid of some warnings.

Location:
uspace/lib/libc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/loader.c

    re64c4b2 r404464a  
    5151 *              de-allocated using free() after use).
    5252 */
    53 loader_t *loader_spawn(char *name)
     53loader_t *loader_spawn(const char *name)
    5454{
    5555        int phone_id, rc;
  • uspace/lib/libc/generic/mem.c

    re64c4b2 r404464a  
    188188void *memmove(void *dst, const void *src, size_t n)
    189189{
    190         uint8_t *dp, *sp;
     190        const uint8_t *sp;
     191        uint8_t *dp;
    191192
    192193        /* Nothing to do? */
  • uspace/lib/libc/include/loader/loader.h

    re64c4b2 r404464a  
    4545} loader_t;
    4646
    47 extern loader_t *loader_spawn(char *name);
     47extern loader_t *loader_spawn(const char *name);
    4848extern int loader_get_task_id(loader_t *, task_id_t *);
    4949extern int loader_set_pathname(loader_t *, const char *);
Note: See TracChangeset for help on using the changeset viewer.