Changeset 1433ecda in mainline for uspace/app/tester


Ignore:
Timestamp:
2018-04-04T15:42:37Z (8 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.

Location:
uspace/app/tester
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/float/softfloat1.c

    r47b2d7e3 r1433ecda  
    7070typedef int32_t cmptype_t;
    7171
    72 typedef void (* uint_to_double_op_t)(unsigned int, double *, double *);
    73 typedef void (* double_to_uint_op_t)(double, unsigned int *, unsigned int *);
    74 typedef void (* float_binary_op_t)(float, float, float *, float *);
    75 typedef void (* float_cmp_op_t)(float, float, cmptype_t *, cmptype_t *);
    76 typedef void (* double_binary_op_t)(double, double, double *, double *);
    77 typedef void (* double_cmp_op_t)(double, double, cmptype_t *, cmptype_t *);
    78 
    79 typedef void (* template_unary_t)(void *, unsigned, cmptype_t *, cmptype_t *);
    80 typedef void (* template_binary_t)(void *, unsigned, unsigned, cmptype_t *,
     72typedef void (*uint_to_double_op_t)(unsigned int, double *, double *);
     73typedef void (*double_to_uint_op_t)(double, unsigned int *, unsigned int *);
     74typedef void (*float_binary_op_t)(float, float, float *, float *);
     75typedef void (*float_cmp_op_t)(float, float, cmptype_t *, cmptype_t *);
     76typedef void (*double_binary_op_t)(double, double, double *, double *);
     77typedef void (*double_cmp_op_t)(double, double, cmptype_t *, cmptype_t *);
     78
     79typedef void (*template_unary_t)(void *, unsigned, cmptype_t *, cmptype_t *);
     80typedef void (*template_binary_t)(void *, unsigned, unsigned, cmptype_t *,
    8181    cmptype_t *);
    8282
  • uspace/app/tester/loop/loop1.c

    r47b2d7e3 r1433ecda  
    3434{
    3535        TPRINTF("Looping...");
    36         while (true);
     36        while (true)
     37                ;
    3738        TPRINTF("\n");
    3839
  • uspace/app/tester/mm/pager1.c

    r47b2d7e3 r1433ecda  
    5555        (void) vfs_unlink_path(TEST_FILE);
    5656
    57         rc = vfs_write(fd, (aoff64_t []) {0}, text, sizeof(text), &nwr);
     57        rc = vfs_write(fd, (aoff64_t []) { 0 }, text, sizeof(text), &nwr);
    5858        if (rc != EOK) {
    5959                vfs_put(fd);
  • uspace/app/tester/tester.c

    r47b2d7e3 r1433ecda  
    7777#include "hw/serial/serial1.def"
    7878#include "chardev/chardev1.def"
    79         {NULL, NULL, NULL, false}
     79        { NULL, NULL, NULL, false }
    8080};
    8181
  • uspace/app/tester/thread/setjmp1.c

    r47b2d7e3 r1433ecda  
    3535static int counter;
    3636
    37 static void do_the_long_jump(void) {
     37static void do_the_long_jump(void)
     38{
    3839        TPRINTF("Will do a long jump back to test_it().\n");
    3940        longjmp(jmp_env, 1);
    4041}
    4142
    42 static const char *test_it(void) {
     43static const char *test_it(void)
     44{
    4345        int second_round = setjmp(jmp_env);
    4446        counter++;
Note: See TracChangeset for help on using the changeset viewer.