diff options
author | jcid <devnull@localhost> | 2008-11-05 19:11:02 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-11-05 19:11:02 +0100 |
commit | 8d11ae65472e4a9c70476f9b165df7a114d06908 (patch) | |
tree | cfd63c085c4eee16b250ecbaaa61b9d53ff4b6aa /dpi/bookmarks.c | |
parent | 26fe2d4e6d93618c44c3ab35089f9d35eec5389b (diff) |
- Cleaned up and normalized D_SUN_LEN usage.
Diffstat (limited to 'dpi/bookmarks.c')
-rw-r--r-- | dpi/bookmarks.c | 5 |
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" |