Elijah Newren wrote:
> Signed-off-by: Elijah Newren
> ---
> urlmatch.h | 2 ++
> 1 file changed, 2 insertions(+)
Reviewed-by: Jonathan Nieder
This has two benefits:
- avoids the definitions in this header from being evaluated twice
- many compilers recognize the #include guard idiom and als
Signed-off-by: Elijah Newren
---
urlmatch.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/urlmatch.h b/urlmatch.h
index 37ee5da85e..e482148248 100644
--- a/urlmatch.h
+++ b/urlmatch.h
@@ -1,4 +1,6 @@
#ifndef URL_MATCH_H
+#define URL_MATCH_H
+
#include "string-list.h"
struct url_info
2 matches
Mail list logo