Changeset d1582b50 in mainline for uspace/lib/bithenge


Ignore:
Timestamp:
2020-12-14T20:41:53Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02fe42e
Parents:
1382446
git-author:
Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
git-committer:
Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
Message:

Fix spacing in single-line comments using latest ccheck

This found incorrectly formatted section comments (with blocks of
asterisks or dashes). I strongly believe against using section comments
but I am not simply removing them since that would probably be
controversial.

Location:
uspace/lib/bithenge/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/compound.c

    r1382446 rd1582b50  
    4242#include "common.h"
    4343
    44 /***************** compose_transform                         *****************/
     44/*
     45 * compose_transform
     46 */
    4547
    4648typedef struct {
     
    148150}
    149151
    150 /***************** if_transform                              *****************/
     152/*
     153 * if_transform
     154 */
    151155
    152156typedef struct {
     
    260264}
    261265
    262 /***************** partial_transform                         *****************/
     266/*
     267 * partial_transform
     268 */
    263269
    264270typedef struct {
  • uspace/lib/bithenge/src/expression.c

    r1382446 rd1582b50  
    6767}
    6868
    69 /***************** binary_expression                         *****************/
     69/*
     70 * binary_expression
     71 */
    7072
    7173typedef struct {
     
    281283}
    282284
    283 /***************** in_node_expression                        *****************/
     285/*
     286 * in_node_expression
     287 */
    284288
    285289static errno_t in_node_evaluate(bithenge_expression_t *self,
     
    316320}
    317321
    318 /***************** current_node_expression                   *****************/
     322/*
     323 * current_node_expression
     324 */
    319325
    320326static errno_t current_node_evaluate(bithenge_expression_t *self,
     
    347353}
    348354
    349 /***************** param_expression                          *****************/
     355/*
     356 * param_expression
     357 */
    350358
    351359typedef struct {
     
    408416}
    409417
    410 /***************** const_expression                          *****************/
     418/*
     419 * const_expression
     420 */
    411421
    412422typedef struct {
     
    478488}
    479489
    480 /***************** scope_member_expression                   *****************/
     490/*
     491 * scope_member_expression
     492 */
    481493
    482494typedef struct {
     
    559571}
    560572
    561 /***************** subblob_expression                        *****************/
     573/*
     574 * subblob_expression
     575 */
    562576
    563577typedef struct {
     
    685699}
    686700
    687 /***************** param_wrapper                             *****************/
     701/*
     702 * param_wrapper
     703 */
    688704
    689705typedef struct {
     
    843859}
    844860
    845 /***************** expression_transform           *****************/
     861/*
     862 * expression_transform
     863 */
    846864
    847865/* Also used by inputless_transform. */
     
    921939}
    922940
    923 /***************** inputless_transform            *****************/
     941/*
     942 * inputless_transform
     943 */
    924944
    925945static errno_t inputless_transform_prefix_length(bithenge_transform_t *base,
     
    977997}
    978998
    979 /***************** concat_blob                    *****************/
     999/*
     1000 * concat_blob
     1001 */
    9801002
    9811003typedef struct {
  • uspace/lib/bithenge/src/script.c

    r1382446 rd1582b50  
    450450static bithenge_expression_t *parse_expression(state_t *state);
    451451
    452 /***************** Expressions                               *****************/
     452/*
     453 * Expressions
     454 */
    453455
    454456/** @cond internal */
  • uspace/lib/bithenge/src/sequence.c

    r1382446 rd1582b50  
    4242#include "common.h"
    4343
    44 /***************** seq_node                                  *****************/
     44/*
     45 * seq_node
     46 */
    4547
    4648typedef struct {
     
    273275}
    274276
    275 /***************** bithenge_new_struct                       *****************/
     277/*
     278 * bithenge_new_struct
     279 */
    276280
    277281typedef struct {
     
    626630}
    627631
    628 /***************** bithenge_repeat_transform                 *****************/
     632/*
     633 * bithenge_repeat_transform
     634 */
    629635
    630636/* TODO: ignore errors */
     
    905911}
    906912
    907 /***************** bithenge_do_while_transform               *****************/
     913/*
     914 * bithenge_do_while_transform
     915 */
    908916
    909917typedef struct {
  • uspace/lib/bithenge/src/transform.c

    r1382446 rd1582b50  
    4444#include "common.h"
    4545
    46 /***************** transform                                 *****************/
     46/*
     47 * transform
     48 */
    4749
    4850/** Initialize a new transform.
     
    180182}
    181183
    182 /***************** scope                                     *****************/
     184/*
     185 * scope
     186 */
    183187
    184188/** Create a transform scope. It must be dereferenced with @a
     
    429433}
    430434
    431 /***************** barrier_transform                         *****************/
     435/*
     436 * barrier_transform
     437 */
    432438
    433439typedef struct {
     
    561567}
    562568
    563 /***************** ascii                                     *****************/
     569/*
     570 * ascii
     571 */
    564572
    565573static errno_t ascii_apply(bithenge_transform_t *self, bithenge_scope_t *scope,
     
    604612};
    605613
    606 /***************** bit                                       *****************/
     614/*
     615 * bit
     616 */
    607617
    608618static errno_t bit_prefix_apply(bithenge_transform_t *self,
     
    632642};
    633643
    634 /***************** bits_be, bits_le                          *****************/
     644/*
     645 * bits_be, bits_le
     646 */
    635647
    636648typedef struct {
     
    763775};
    764776
    765 /***************** invalid                                   *****************/
     777/*
     778 * invalid
     779 */
    766780
    767781static errno_t invalid_apply(bithenge_transform_t *self, bithenge_scope_t *scope,
     
    781795};
    782796
    783 /***************** known_length                              *****************/
     797/*
     798 * known_length
     799 */
    784800
    785801static errno_t known_length_apply(bithenge_transform_t *self,
     
    934950/** @endcond */
    935951
    936 /***************** uint_be, uint_le                          *****************/
     952/*
     953 * uint_be, uint_le
     954 */
    937955
    938956static errno_t uint_xe_prefix_apply(bithenge_transform_t *self,
     
    10041022};
    10051023
    1006 /***************** zero_terminated                           *****************/
     1024/*
     1025 * zero_terminated
     1026 */
    10071027
    10081028static errno_t zero_terminated_apply(bithenge_transform_t *self,
Note: See TracChangeset for help on using the changeset viewer.