From 7a7c32aec0f65d45a01d8b0e3534b85a7f3086c0 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 21 Sep 2014 01:06:47 +0200 Subject: Add a header guard I've nearly forgotten what those are. --- plugin-api.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin-api.h b/plugin-api.h index 7a73c59..fa67695 100644 --- a/plugin-api.h +++ b/plugin-api.h @@ -18,6 +18,9 @@ * */ +#ifndef PLUGIN_API_H +#define PLUGIN_API_H + // This API is meant to be as simplistic as is realistically possible. /// The version of the API, and by extension, of all the following structs @@ -92,3 +95,5 @@ struct plugin_info /// The context needs to be passed to the relevant API functions. bool (*initialize) (void *ctx, struct plugin_api *api); }; + +#endif // ! PLUGIN_API_H -- cgit v1.2.3-70-g09d2