This is not required, but seems to be the common practice.
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef COMMAND_H
-#define COMMAND_H
+#ifndef _COMMAND_H
+#define _COMMAND_H
enum {
COMMAND_YANK_PRIMARY = VP_CLIPBOARD_PRIMARY,
gboolean command_search(const Arg* arg);
gboolean command_searchengine(const Arg* arg);
-#endif /* end of include guard: COMMAND_H */
+#endif /* end of include guard: _COMMAND_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef COMPLETION_H
-#define COMPLETION_H
+#ifndef _COMPLETION_H
+#define _COMPLETION_H
#include "main.h"
void completion_clean(void);
gboolean completion_complete(gboolean back);
-#endif /* end of include guard: COMPLETION_H */
+#endif /* end of include guard: _COMPLETION_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef CONFIG_H
-#define CONFIG_H
+#ifndef _CONFIG_H
+#define _CONFIG_H
#include "stdlib.h"
{NULL}
};
-#endif /* end of include guard: CONFIG_H */
+#endif /* end of include guard: _CONFIG_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef DOM_H
-#define DOM_H
+#ifndef _DOM_H
+#define _DOM_H
#include <webkit/webkit.h>
gboolean dom_is_editable(Element* element);
gchar* dom_element_get_source(Element* elem);
-#endif /* end of include guard: DOM_H */
+#endif /* end of include guard: _DOM_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef HINTS_H
-#define HINTS_H
+#ifndef _HINTS_H
+#define _HINTS_H
#include "main.h"
void hints_clear(void);
void hints_focus_next(const gboolean back);
-#endif /* end of include guard: HINTS_H */
+#endif /* end of include guard: _HINTS_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef KEYBIND_H
-#define KEYBIND_H
+#ifndef _KEYBIND_H
+#define _KEYBIND_H
#include <gdk/gdkkeysyms.h>
#include <gdk/gdkkeysyms-compat.h>
gboolean keybind_add_from_string(const gchar* str, const Mode mode);
gboolean keybind_remove_from_string(const gchar* str, const Mode mode);
-#endif /* end of include guard: KEYBIND_H */
+#endif /* end of include guard: _KEYBIND_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef MAIN_H
-#define MAIN_H
+#ifndef _MAIN_H
+#define _MAIN_H
#include <stdlib.h>
#include <string.h>
void vp_clean_input(void);
gboolean vp_set_clipboard(const Arg* arg);
-#endif /* end of include guard: MAIN_H */
+#endif /* end of include guard: _MAIN_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef SEARCHENGINE_H
-#define SEARCHENGINE_H
+#ifndef _SEARCHENGINE_H
+#define _SEARCHENGINE_H
typedef struct {
gchar* handle;
gboolean searchengine_remove(const gchar* handle);
gchar* searchengine_get_uri(const gchar* handle);
-#endif /* end of include guard: SEARCHENGINE_H */
+#endif /* end of include guard: _SEARCHENGINE_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef SETTING_H
-#define SETTING_H
+#ifndef _SETTING_H
+#define _SETTING_H
#include "main.h"
void setting_cleanup(void);
gboolean setting_run(gchar* name, const gchar* param);
-#endif /* end of include guard: SETTING_H */
+#endif /* end of include guard: _SETTING_H */
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
-#ifndef UTIL_H
-#define UTIL_H
+#ifndef _UTIL_H
+#define _UTIL_H
#include "main.h"
gchar* util_get_file_contents(const gchar* filename, gsize* length);
gchar** util_get_lines(const gchar* filename);
-#endif /* end of include guard: UTIL_H */
+#endif /* end of include guard: _UTIL_H */