diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-06-19 20:58:44 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 20:02:05 +0000 | 
| commit | 247dcce2b5676abbd0109bdc2d74c36dff73609c (patch) | |
| tree | 0e8fecea425d5ada4dab2a199b23108c193f1a27 /lib | |
| parent | 313d7993a35571dabf8c2b2ecdf538b0686aae74 (diff) | |
*: fix source file headers & includes for errcodes
* Use the correct license header
* Stop headers from including themselves
* Use uniform relative include conventions
* Ensure that sources include what they use
* Turn off clang-format around struct array blocks
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_errors.c | 2 | ||||
| -rw-r--r-- | lib/lib_errors.h | 3 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c index f53ff4e016..e08b03f17f 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -18,7 +18,7 @@   * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA   */ -#include <lib_errors.h> +#include "lib_errors.h"  /* clang-format off */  static struct ferr_ref ferr_lib_err[] = { diff --git a/lib/lib_errors.h b/lib/lib_errors.h index 9e3383793a..8be33ae254 100644 --- a/lib/lib_errors.h +++ b/lib/lib_errors.h @@ -17,10 +17,11 @@   * with this program; see the file COPYING; if not, write to the Free Software   * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA   */ +  #ifndef __LIB_ERRORS_H__  #define __LIB_ERRORS_H__ -#include "ferr.h" +#include "lib/ferr.h"  enum lib_ferr_refs {  	LIB_ERR_PRIVILEGES = LIB_FERR_START,  | 
