Changeset 1433ecda in mainline for uspace/app/untar


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/untar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/untar/main.c

    r47b2d7e3 r1433ecda  
    4040#include "tar.h"
    4141
    42 static size_t get_block_count(size_t bytes) {
     42static size_t get_block_count(size_t bytes)
     43{
    4344        return (bytes + TAR_BLOCK_SIZE - 1) / TAR_BLOCK_SIZE;
    4445}
  • uspace/app/untar/tar.c

    r47b2d7e3 r1433ecda  
    4141#include "tar.h"
    4242
    43 tar_type_t tar_type_parse(const char type) {
     43tar_type_t tar_type_parse(const char type)
     44{
    4445        switch (type) {
    4546        case '0':
     
    5354}
    5455
    55 const char *tar_type_str(tar_type_t type) {
     56const char *tar_type_str(tar_type_t type)
     57{
    5658        switch (type) {
    5759        case TAR_TYPE_UNKNOWN:
Note: See TracChangeset for help on using the changeset viewer.