Changeset 743ce51 in mainline for uspace/app/bithenge/test.c


Ignore:
Timestamp:
2012-05-25T03:49:21Z (14 years ago)
Author:
Sean Bartell <wingedtachikoma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1923501
Parents:
a54bd98
Message:

Bithenge: various fixes and style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bithenge/test.c

    ra54bd98 r743ce51  
    4242
    4343static void
    44 print_data(const char *data, size_t len) {
     44print_data(const char *data, size_t len)
     45{
    4546        while (len--)
    4647                printf("%02x ", (uint8_t)(*data++));
     
    4950
    5051static void
    51 print_blob(bithenge_blob_t *blob) {
     52print_blob(bithenge_blob_t *blob)
     53{
    5254        aoff64_t size;
    5355        bithenge_blob_size(blob, &size);
     
    5961}
    6062
    61 int main(int argc, char *argv[]) {
     63int main(int argc, char *argv[])
     64{
    6265        service_id_t service_id;
    6366        loc_service_get_id("bd/initrd", &service_id, 0);
Note: See TracChangeset for help on using the changeset viewer.