Skip to content

Commit

Permalink
Merge pull request #2051 from guy-maurel/WithoutNL
Browse files Browse the repository at this point in the history
Unify the style of static inline functions
  • Loading branch information
gmaurel committed Oct 26, 2018
2 parents 1208060 + da5e08e commit ab9eaa2
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 ab9eaa2

Please sign in to comment.