Changeset a405563 in mainline


Ignore:
Timestamp:
2009-08-02T18:51:49Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f019cc07
Parents:
30885b9
Message:

Fix some warnings.

Location:
uspace
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/thread/thread1.c

    r30885b9 ra405563  
    3939static atomic_t finish;
    4040static atomic_t threads_finished;
    41 static bool sh_quiet;
    4241
    4342static void threadtest(void *data)
     
    5453{
    5554        unsigned int i;
    56         unsigned int total = 0;
     55        int total = 0;
    5756       
    5857        atomic_set(&finish, 1);
  • uspace/app/tetris/shapes.c

    r30885b9 ra405563  
    8888int fits_in(const struct shape *shape, int pos)
    8989{
    90         int *o = shape->off;
     90        const int *o = shape->off;
    9191       
    9292        if ((board[pos]) || (board[pos + *o++]) || (board[pos + *o++]) ||
     
    103103void place(const struct shape *shape, int pos, int onoff)
    104104{
    105         int *o = shape->off;
     105        const int *o = shape->off;
    106106       
    107107        board[pos] = onoff ? shape->color : 0x000000;
  • uspace/app/tetris/tetris.c

    r30885b9 ra405563  
    238238        int pos;
    239239        int c;
    240         char *keys;
     240        const char *keys;
    241241        int level = 2;
    242242        char key_write[6][10];
  • uspace/lib/libc/generic/vfs/vfs.c

    r30885b9 ra405563  
    367367{
    368368        ipcarg_t rc;
    369         ipc_call_t answer;
    370369        aid_t req;
    371370
  • uspace/srv/console/console.c

    r30885b9 ra405563  
    174174}
    175175
    176 int ccap_fb_to_con(int ccap_fb, int *ccap_con)
     176static int ccap_fb_to_con(int ccap_fb, int *ccap_con)
    177177{
    178178        switch (ccap_fb) {
  • uspace/srv/devmap/devmap.c

    r30885b9 ra405563  
    547547        ipc_answer_0(iid, EOK);
    548548       
    549         size_t name_size = str_size(device->name);
    550        
    551549        /* FIXME:
    552550         * We have no channel from DEVMAP to client, therefore
    553551         * sending must be initiated by client.
     552         *
     553         * size_t name_size = str_size(device->name);
    554554         *
    555555         * int rc = ipc_data_write_send(phone, device->name, name_size);
  • uspace/srv/fs/fat/fat_ops.c

    r30885b9 ra405563  
    403403        fat_bs_t *bs;
    404404        block_t *b;
    405         int i, j;
     405        unsigned i, j;
    406406        uint16_t bps;
    407407        unsigned dps;
Note: See TracChangeset for help on using the changeset viewer.