summaryrefslogtreecommitdiff
path: root/dpi/bookmarks.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-11-05 19:11:02 +0100
committerjcid <devnull@localhost>2008-11-05 19:11:02 +0100
commit8d11ae65472e4a9c70476f9b165df7a114d06908 (patch)
treecfd63c085c4eee16b250ecbaaa61b9d53ff4b6aa /dpi/bookmarks.c
parent26fe2d4e6d93618c44c3ab35089f9d35eec5389b (diff)
- Cleaned up and normalized D_SUN_LEN usage.
Diffstat (limited to 'dpi/bookmarks.c')
-rw-r--r--dpi/bookmarks.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/dpi/bookmarks.c b/dpi/bookmarks.c
index e5447331..a20d8ef6 100644
--- a/dpi/bookmarks.c
+++ b/dpi/bookmarks.c
@@ -44,11 +44,6 @@
#define _MSG(...)
#define MSG(...) printf("[bookmarks dpi]: " __VA_ARGS__)
-/* This one is tricky, some sources state it should include the byte
- * for the terminating NULL, and others say it shouldn't. */
-# define D_SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path) \
- + strlen ((ptr)->sun_path))
-
#define DOCTYPE \
"<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n"