fault: protect header against multiple inclusion.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
01dcf7e9ac
commit
62ce44a08a
5
fault.h
5
fault.h
|
@ -16,6 +16,9 @@
|
||||||
* with this program; if not, write to the Free Software Foundation, Inc.,
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
*/
|
*/
|
||||||
|
#ifndef HAVE_FAULT_H
|
||||||
|
#define HAVE_FAULT_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
enum fault_type {
|
enum fault_type {
|
||||||
|
@ -37,3 +40,5 @@ struct fault_interval {
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *ft_str(enum fault_type ft);
|
const char *ft_str(enum fault_type ft);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue