header-guard for lib.h

pull/24/head
ajneu 2016-06-13 10:52:41 +02:00
parent 862e8ed178
commit 3a33ee995c
1 changed files with 7 additions and 0 deletions

7
lib.h
View File

@ -41,6 +41,11 @@
*
*/
#ifndef CAN_UTILS_LIB_H
#define CAN_UTILS_LIB_H
#include <stdio.h>
/* buffer sizes for CAN frame string representations */
#define CL_ID (sizeof("12345678##1"))
@ -208,3 +213,5 @@ void snprintf_can_error_frame(char *buf, size_t len, const struct canfd_frame *c
/*
* Creates a CAN error frame output in user readable format.
*/
#endif