summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/src/remove_extra_returns.h
blob: 85fc6429dfd3640cd47485d96f965750d5b5dc3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
 * @file remove_extra_returns.h
 * prototypes for remove_extra_returns.cpp
 *
 * @author  Guy Maurel
 * @license GPL v2+
 * extract from combine.h
 */

#ifndef REMOVE_EXTRA_RETURNS_H_INCLUDED
#define REMOVE_EXTRA_RETURNS_H_INCLUDED


/**
 * @brief Remove unnecessary returns
 * that is remove 'return;' that appears as the last statement in a function
 */
void remove_extra_returns();


#endif /* REMOVE_EXTRA_RETURNS_H_INCLUDED */