X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/73b54f7d7e21fbb15c50e21eafe1737df96b2073..81bf4d32b377d3f2fdd7ab3ca651be99408f5c32:/ui-atom.c
diff --git a/ui-atom.c b/ui-atom.c
index 808b2d0..2a1eb59 100644
--- a/ui-atom.c
+++ b/ui-atom.c
@@ -7,10 +7,11 @@
*/
#include "cgit.h"
+#include "ui-atom.h"
#include "html.h"
#include "ui-shared.h"
-void add_entry(struct commit *commit, char *host)
+static void add_entry(struct commit *commit, const char *host)
{
char delim = '&';
char *hex;
@@ -24,7 +25,7 @@ void add_entry(struct commit *commit, char *host)
html_txt(info->subject);
html("\n");
html("