Ignore:
Timestamp:
2018-03-02T20:10:49Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1380b7
Parents:
3061bc1
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
Message:

style: Remove trailing whitespace on _all_ lines, including empty ones, for particular file types.

Command used: tools/srepl '\s\+$' '' -- *.c *.h *.py *.sh *.s *.S *.ag

Currently, whitespace on empty lines is very inconsistent.
There are two basic choices: Either remove the whitespace, or keep empty lines
indented to the level of surrounding code. The former is AFAICT more common,
and also much easier to do automatically.

Alternatively, we could write script for automatic indentation, and use that
instead. However, if such a script exists, it's possible to use the indented
style locally, by having the editor apply relevant conversions on load/save,
without affecting remote repository. IMO, it makes more sense to adopt
the simpler rule.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ieee80211/include/ieee80211_private.h

    r3061bc1 ra35b458  
    231231        /** Backing DDF device. */
    232232        ddf_dev_t *ddf_dev;
    233        
     233
    234234        /** Pointer to implemented IEEE 802.11 device operations. */
    235235        ieee80211_ops_t *ops;
    236        
     236
    237237        /** Pointer to implemented IEEE 802.11 interface operations. */
    238238        ieee80211_iface_t *iface;
    239        
     239
    240240        /** Pointer to driver specific data. */
    241241        void *specific;
    242        
     242
    243243        /** Current operating frequency. */
    244244        uint16_t current_freq;
    245        
     245
    246246        /** Current operating mode. */
    247247        ieee80211_operating_mode_t current_op_mode;
    248        
     248
    249249        /** Info about BSSID we are connected to. */
    250250        ieee80211_bssid_info_t bssid_info;
    251        
     251
    252252        /**
    253253         * Flag indicating that data traffic is encrypted by HW key
     
    255255         */
    256256        bool using_hw_key;
    257        
     257
    258258        /** BSSIDs we listen to. */
    259259        nic_address_t bssid_mask;
    260        
     260
    261261        /** List of APs in neighborhood. */
    262262        ieee80211_scan_result_list_t ap_list;
    263        
     263
    264264        /** Current sequence number used in data frames. */
    265265        uint16_t sequence_number;
    266        
     266
    267267        /** Current authentication phase. */
    268268        ieee80211_auth_phase_t current_auth_phase;
    269        
     269
    270270        /** Flag indicating whether client wants connect to network. */
    271271        bool pending_conn_req;
    272        
     272
    273273        /** Scanning guard. */
    274274        fibril_mutex_t scan_mutex;
    275        
     275
    276276        /** General purpose guard. */
    277277        fibril_mutex_t gen_mutex;
    278        
     278
    279279        /** General purpose condition variable. */
    280280        fibril_condvar_t gen_cond;
    281        
     281
    282282        /** Indicates whether device is fully initialized. */
    283283        bool ready;
    284        
     284
    285285        /** Indicates whether driver has already started. */
    286286        bool started;
Note: See TracChangeset for help on using the changeset viewer.