Ensure all source code end with one and only one newline

by this command:
git ls-files -z | while IFS= read -rd '' f; do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
This commit is contained in:
Xiang Xiao
2020-02-07 21:17:25 +08:00
committed by Gregory Nutt
parent 81f1133174
commit a8de37fbec
97 changed files with 95 additions and 78 deletions
+1 -1
View File
@@ -98,4 +98,4 @@ bool bt_atomic_testbit(FAR bt_atomic_t *ptr, bt_atomic_t bitno);
bool bt_atomic_testsetbit(FAR bt_atomic_t *ptr, bt_atomic_t bitno);
bool bt_atomic_testclrbit(FAR bt_atomic_t *ptr, bt_atomic_t bitno);
#endif /* __WIRELESS_BLUETOOTH_BT_ATOMIC_H */
#endif /* __WIRELESS_BLUETOOTH_BT_ATOMIC_H */
+1 -1
View File
@@ -5,4 +5,4 @@ NOTE: Throughout the code, excerpts from the standard are quoted as to make
the code thoroughly readable. I have tried, to always put a reference [1] and
page number. Below is the references that correspond with the reference number
[1]
[1]
+1 -1
View File
@@ -72,4 +72,4 @@ void mac802154_rx_assocreq(FAR struct ieee802154_privmac_s *priv,
void mac802154_rx_assocresp(FAR struct ieee802154_privmac_s *priv,
FAR struct ieee802154_data_ind_s *ind);
#endif /* __WIRELESS_IEEE802154__MAC802154_ASSOC_H */
#endif /* __WIRELESS_IEEE802154__MAC802154_ASSOC_H */
+1 -1
View File
@@ -61,4 +61,4 @@
* Function Prototypes
****************************************************************************/
#endif /* __WIRELESS_IEEE802154__MAC802154_DATA_H */
#endif /* __WIRELESS_IEEE802154__MAC802154_DATA_H */
+1 -1
View File
@@ -78,4 +78,4 @@ int mac802154_req_disassociate(MACHANDLE mac,
(FAR struct ieee802154_privmac_s *)mac;
#endif
return -ENOTTY;
}
}
+1 -1
View File
@@ -249,4 +249,4 @@ int mac802154_req_set(MACHANDLE mac, enum ieee802154_attr_e attr,
break;
}
return ret;
}
}
+1 -1
View File
@@ -71,4 +71,4 @@ int mac802154_req_gts(MACHANDLE mac, FAR struct ieee802154_gts_req_s *req)
(FAR struct ieee802154_privmac_s *)mac;
#endif
return -ENOTTY;
}
}
+1 -1
View File
@@ -63,4 +63,4 @@ struct ieee802154_privmac_s; /* Forward Reference */
void mac802154_txdone_datareq_poll(FAR struct ieee802154_privmac_s *priv,
FAR struct ieee802154_txdesc_s *txdesc);
#endif /* __WIRELESS_IEEE802154__MAC802154_POLL_H */
#endif /* __WIRELESS_IEEE802154__MAC802154_POLL_H */
+1 -1
View File
@@ -65,4 +65,4 @@ void mac802154_edscan_onresult(FAR struct ieee802154_privmac_s *priv, uint8_t ed
void mac802154_scanfinish(FAR struct ieee802154_privmac_s *priv,
enum ieee802154_status_e status);
#endif /* __WIRELESS_IEEE802154__MAC802154_SCAN_H */
#endif /* __WIRELESS_IEEE802154__MAC802154_SCAN_H */