Make headers consistent (comments, guard names)

This commit is contained in:
Xavier Mendez 2013-09-20 18:04:07 +02:00
parent a81040f55e
commit df6bb7a219
6 changed files with 18 additions and 13 deletions

View file

@ -1,3 +1,5 @@
/* autolink.h - versatile autolinker */
#ifndef HOEDOWN_AUTOLINK_H
#define HOEDOWN_AUTOLINK_H
@ -30,6 +32,4 @@ hoedown_autolink__url(size_t *rewind_p, struct hoedown_buffer *link,
}
#endif
#endif
/* vim: set filetype=c: */
#endif /** HOEDOWN_AUTOLINK_H **/

View file

@ -1,3 +1,5 @@
/* buffer.h - simple, fast buffers */
#ifndef HOEDOWN_BUFFER_H
#define HOEDOWN_BUFFER_H
@ -68,4 +70,4 @@ void hoedown_buffer_printf(struct hoedown_buffer *, const char *, ...) __attribu
}
#endif
#endif
#endif /** HOEDOWN_BUFFER_H **/

View file

@ -1,3 +1,5 @@
/* escape.h - escape utilities */
#ifndef HOEDOWN_ESCAPE_H
#define HOEDOWN_ESCAPE_H
@ -14,4 +16,4 @@ extern void hoedown_escape_href(struct hoedown_buffer *ob, const uint8_t *src, s
}
#endif
#endif
#endif /** HOEDOWN_ESCAPE_H **/

View file

@ -1,3 +1,5 @@
/* html.h - HTML renderer */
#ifndef HOEDOWN_HTML_H
#define HOEDOWN_HTML_H
@ -59,5 +61,4 @@ hoedown_html_smartypants(struct hoedown_buffer *ob, const uint8_t *text, size_t
}
#endif
#endif
#endif /** HOEDOWN_HTML_H **/

View file

@ -127,6 +127,4 @@ hoedown_version(int *major, int *minor, int *revision);
}
#endif
#endif
/* vim: set filetype=c: */
#endif /** HOEDOWN_MARKDOWN_H **/

View file

@ -1,5 +1,7 @@
#ifndef STACK_H__
#define STACK_H__
/* stack.h - simple stacking */
#ifndef HOEDOWN_STACK_H
#define HOEDOWN_STACK_H
#include <stdlib.h>
@ -26,4 +28,4 @@ void *hoedown_stack_top(struct hoedown_stack *);
}
#endif
#endif
#endif /** HOEDOWN_STACK_H **/