about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-11-08 22:51:49 +0000
committerJames Booth <boothj5@gmail.com>2012-11-08 22:51:49 +0000
commitba11e88dcb4ba2554c690a7ecc10652b28a4d4a4 (patch)
tree9bab0e8c75b83ecdfcdaa198ff4c8c31fc1aad90 /src
parenta775d1829171206955b40d5c9900aaccc954b7bb (diff)
downloadprofani-tty-ba11e88dcb4ba2554c690a7ecc10652b28a4d4a4.tar.gz
Added #define's to headers
Diffstat (limited to 'src')
-rw-r--r--src/release.h5
-rw-r--r--src/room_chat.h5
-rw-r--r--src/tinyurl.h5
-rw-r--r--src/ui.h4
4 files changed, 17 insertions, 2 deletions
diff --git a/src/release.h b/src/release.h
index c106d622..7fccb73f 100644
--- a/src/release.h
+++ b/src/release.h
@@ -20,6 +20,11 @@
  *
  */
 
+#ifndef RELEASE_H
+#define RELEASE_H
+
 #include <glib.h>
 
 char * release_get_latest(void);
+
+#endif
diff --git a/src/room_chat.h b/src/room_chat.h
index d455e03c..d62383c9 100644
--- a/src/room_chat.h
+++ b/src/room_chat.h
@@ -20,6 +20,9 @@
  *
  */
 
+#ifndef ROOM_CHAT_H
+#define ROOM_CHAT_H
+
 #include <glib.h>
 
 void room_join(const char * const jid, const char * const nick);
@@ -33,3 +36,5 @@ GList * room_get_roster(const char * const jid);
 void room_set_roster_received(const char * const jid);
 gboolean room_get_roster_received(const char * const jid);
 void room_remove_from_roster(const char * const jid, const char * const nick);
+
+#endif
diff --git a/src/tinyurl.h b/src/tinyurl.h
index 0df9865b..0f40a20d 100644
--- a/src/tinyurl.h
+++ b/src/tinyurl.h
@@ -20,7 +20,12 @@
  *
  */
 
+#ifndef TINYURL_H
+#define TINYURL_H
+
 #include <glib.h>
 
 gboolean tinyurl_valid(char *url);
 char * tinyurl_get(char *url);
+
+#endif
diff --git a/src/ui.h b/src/ui.h
index 84583553..3875ded8 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -20,8 +20,8 @@
  *
  */
 
-#ifndef WINDOWS_H
-#define WINDOWS_h
+#ifndef UI_H
+#define UI_H
 
 #include "config.h"