Skip to content

Commit

Permalink
Unify the style of static inline functions
Browse files Browse the repository at this point in the history
The most of them have not a new line after "inline".
  • Loading branch information
guy-maurel committed Oct 26, 2018
1 parent 7bfa8ca commit da5e08e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/prototypes.h
Expand Up @@ -23,8 +23,7 @@
* @param tabsize The tabsize
* @return the next tabstop column
*/
static inline
size_t calc_next_tab_column(size_t col, size_t tabsize)
static inline size_t calc_next_tab_column(size_t col, size_t tabsize)
{
if (col == 0)
{
Expand All @@ -49,8 +48,7 @@ size_t calc_next_tab_column(size_t col, size_t tabsize)
* @param col The current column
* @return the next tabstop column
*/
static inline
size_t next_tab_column(size_t col)
static inline size_t next_tab_column(size_t col)
{
return(calc_next_tab_column(col, uncrustify::options::output_tab_size()));
}
Expand All @@ -62,8 +60,7 @@ size_t next_tab_column(size_t col)
* @param col The current column
* @return the next tabstop column
*/
static inline
size_t align_tab_column(size_t col)
static inline size_t align_tab_column(size_t col)
{
//if (col <= 0)
if (col == 0)
Expand Down

0 comments on commit da5e08e

Please sign in to comment.