summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/adblock.h6
-rw-r--r--src/application.h4
-rw-r--r--src/callback.h4
-rw-r--r--src/commands.h4
-rw-r--r--src/completion.h4
-rw-r--r--src/dom.h4
-rw-r--r--src/domain.h4
-rw-r--r--src/download.h4
-rw-r--r--src/dwb.h4
-rw-r--r--src/editor.h4
-rw-r--r--src/entry.h4
-rw-r--r--src/hsts.h6
-rw-r--r--src/html.h4
-rw-r--r--src/js.h4
-rw-r--r--src/local.h4
-rw-r--r--src/plugins.h4
-rw-r--r--src/scripts.h4
-rw-r--r--src/session.h4
-rw-r--r--src/soup.h4
-rw-r--r--src/util.h4
-rw-r--r--src/view.h4
21 files changed, 44 insertions, 44 deletions
diff --git a/src/adblock.h b/src/adblock.h
index 956ac112..a8d617bb 100644
--- a/src/adblock.h
+++ b/src/adblock.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef ADBLOCK_H
-#define ADBLOCK_H
+#ifndef __DWB_ADBLOCK_H__
+#define __DWB_ADBLOCK_H__
gboolean adblock_init();
gboolean adblock_running();
@@ -25,4 +25,4 @@ void adblock_end();
void adblock_connect(GList *gl);
void adblock_disconnect(GList *gl);
-#endif // ADBLOCK_H
+#endif // __DWB_ADBLOCK_H__
diff --git a/src/application.h b/src/application.h
index 7b5d128f..14dfffb5 100644
--- a/src/application.h
+++ b/src/application.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef APPLICATION_H
-#define APPLICATION_H
+#ifndef __DWB_APPLICATION_H__
+#define __DWB_APPLICATION_H__
gint application_run(int, char **);
void application_stop(void);
diff --git a/src/callback.h b/src/callback.h
index 4cb8d0d2..a68123ce 100644
--- a/src/callback.h
+++ b/src/callback.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef CALLBACKS_H
-#define CALLBACKS_H
+#ifndef __DWB_CALLBACK_H__
+#define __DWB_CALLBACK_H__
gboolean callback_entry_key_release(GtkWidget *, GdkEventKey *);
gboolean callback_entry_key_press(GtkWidget *, GdkEventKey *);
diff --git a/src/commands.h b/src/commands.h
index 62f9b1ae..5f267c12 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef COMMANDS_H
-#define COMMANDS_H
+#ifndef __DWB_COMMANDS_H__
+#define __DWB_COMMANDS_H__
DwbStatus commands_simple_command(KeyMap *km, const char *);
diff --git a/src/completion.h b/src/completion.h
index 9cd1dc8f..4a2e43c1 100644
--- a/src/completion.h
+++ b/src/completion.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef COMPLETION_H
-#define COMPLETION_H
+#ifndef __DWB_COMPLETION_H__
+#define __DWB_COMPLETION_H__
#define COMP_EVENT_BOX(X) (((Completion*)((X)->data))->event)
diff --git a/src/dom.h b/src/dom.h
index 697b80f4..b495f312 100644
--- a/src/dom.h
+++ b/src/dom.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef DOM_H
-#define DOM_H
+#ifndef __DWB_DOM_H__
+#define __DWB_DOM_H__
char * dom_node_get_attribute(WebKitDOMNode *node, const char *attribute);
gboolean dom_add_frame_listener(WebKitWebFrame *frame, const char *signal, GCallback callback, gboolean bubble, GList *gl);
diff --git a/src/domain.h b/src/domain.h
index 8203db78..0ff458b7 100644
--- a/src/domain.h
+++ b/src/domain.h
@@ -18,8 +18,8 @@
*/
-#ifndef DOMAIN_H
-#define DOMAIN_H
+#ifndef __DWB_DOMAIN_H__
+#define __DWB_DOMAIN_H__
#define SUBDOMAIN_MAX 32
diff --git a/src/download.h b/src/download.h
index d171c475..b640a407 100644
--- a/src/download.h
+++ b/src/download.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef DOWNLOAD_H
-#define DOWNLOAD_H
+#ifndef __DWB_DOWNLOAD_H__
+#define __DWB_DOWNLOAD_H__
void download_get_path(GList *, WebKitDownload *);
diff --git a/src/dwb.h b/src/dwb.h
index 04111362..471c1edc 100644
--- a/src/dwb.h
+++ b/src/dwb.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef DWB_H
-#define DWB_H
+#ifndef __DWB_DWB_H__
+#define __DWB_DWB_H__
#include <gtk/gtk.h>
#include <webkit/webkit.h>
#include <gdk/gdkkeysyms.h>
diff --git a/src/editor.h b/src/editor.h
index 634cdeb3..cd28e6ff 100644
--- a/src/editor.h
+++ b/src/editor.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef EDITOR_H
-#define EDITOR_H
+#ifndef __DWB_EDITOR_H__
+#define __DWB_EDITOR_H__
DwbStatus editor_open(void);
diff --git a/src/entry.h b/src/entry.h
index 1e5c6197..8da60e99 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef ENTRY_H
-#define ENTRY_H
+#ifndef __DWB_ENTRY_H__
+#define __DWB_ENTRY_H__
DwbStatus entry_history_forward(GList **last);
DwbStatus entry_history_back(GList **list, GList **last);
void entry_focus();
diff --git a/src/hsts.h b/src/hsts.h
index 504570fc..17f14117 100644
--- a/src/hsts.h
+++ b/src/hsts.h
@@ -17,8 +17,8 @@
*/
#ifndef DISABLE_HSTS
-#ifndef HSTS_H
-#define HSTS_H
+#ifndef __DWB_HSTS_H__
+#define __DWB_HSTS_H__
gboolean hsts_running();
gboolean hsts_init();
@@ -27,5 +27,5 @@ void hsts_save();
void hsts_activate();
void hsts_deactivate();
-#endif // HSTS_H
+#endif // __DWB_HSTS_H__
#endif
diff --git a/src/html.h b/src/html.h
index 1269dbeb..25da6895 100644
--- a/src/html.h
+++ b/src/html.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef HTML_H
-#define HTML_H
+#ifndef __DWB_HTML_H__
+#define __DWB_HTML_H__
gboolean html_load(GList *, const char *);
diff --git a/src/js.h b/src/js.h
index 5fc5f201..ff9160a2 100644
--- a/src/js.h
+++ b/src/js.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef JS_H
-#define JS_H
+#ifndef __DWB_JS_H__
+#define __DWB_JS_H__
#include <JavaScriptCore/JavaScript.h>
typedef struct js_iterator_s js_array_iterator;
diff --git a/src/local.h b/src/local.h
index 52f68b0c..2a1395ef 100644
--- a/src/local.h
+++ b/src/local.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef LOCAL_H
-#define LOCAL_H
+#ifndef __DWB_LOCAL_H__
+#define __DWB_LOCAL_H__
gboolean
local_check_directory(GList *, const char *, gboolean add_to_history, GError **);
diff --git a/src/plugins.h b/src/plugins.h
index 4c4c2597..4abad9d5 100644
--- a/src/plugins.h
+++ b/src/plugins.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef PLUGINS_H
-#define PLUGINS_H
+#ifndef __DWB_PLUGINS_H__
+#define __DWB_PLUGINS_H__
void plugins_connect(GList *);
void plugins_disconnect(GList *);
diff --git a/src/scripts.h b/src/scripts.h
index 3bb03cb2..f4eccc0a 100644
--- a/src/scripts.h
+++ b/src/scripts.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef SCRIPTS_H
-#define SCRIPTS_H
+#ifndef __DWB_SCRIPTS_H__
+#define __DWB_SCRIPTS_H__
#include <JavaScriptCore/JavaScript.h>
diff --git a/src/session.h b/src/session.h
index 5a953ff1..1da7c4ec 100644
--- a/src/session.h
+++ b/src/session.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef SESSION_H
-#define SESSION_H
+#ifndef __DWB_SESSION_H__
+#define __DWB_SESSION_H__
enum SessionFlags {
SESSION_FORCE = 1<<0,
diff --git a/src/soup.h b/src/soup.h
index cecb45c3..a49a1cc8 100644
--- a/src/soup.h
+++ b/src/soup.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef COOKIES_H
-#define COOKIES_H
+#ifndef __DWB_SOUP_H__
+#define __DWB_SOUP_H__
void dwb_soup_clean(void);
void dwb_soup_sync_cookies();
diff --git a/src/util.h b/src/util.h
index d3e30fe5..14ee8c06 100644
--- a/src/util.h
+++ b/src/util.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef UTIL_H
-#define UTIL_H
+#ifndef __DWB_UTIL_H__
+#define __DWB_UTIL_H__
typedef gboolean (*KeyFileAction)(GKeyFile *, const void *data);
diff --git a/src/view.h b/src/view.h
index 10b31553..16e23568 100644
--- a/src/view.h
+++ b/src/view.h
@@ -16,8 +16,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef VIEW_H
-#define VIEW_H
+#ifndef __DWB_VIEW_H__
+#define __DWB_VIEW_H__
GList * view_add(const char *uri, gboolean background);
DwbStatus view_remove(GList *gl);