Fossil SCM

Remove superfluous makeheaders-targeted declaration of markdown() from markdown.c, since this made it appear twice in the generated header files.

danield 2023-03-07 15:40 trunk
Commit bb583b0cc427ff988f58818b5e81e456eaf946c25aba21884680022f4027b45b
1 file changed -14
--- src/markdown.c
+++ src/markdown.c
@@ -112,24 +112,10 @@
112112
#define MKD_CELL_ALIGN_RIGHT 2
113113
#define MKD_CELL_ALIGN_CENTER 3 /* LEFT | RIGHT */
114114
#define MKD_CELL_ALIGN_MASK 3
115115
#define MKD_CELL_HEAD 4
116116
117
-
118
-
119
-/**********************
120
- * EXPORTED FUNCTIONS *
121
- **********************/
122
-
123
-/*
124
-** markdown -- parses the input buffer and renders it into the output buffer.
125
-*/
126
-void markdown(
127
- struct Blob *ob,
128
- const struct Blob *ib,
129
- const struct mkd_renderer *rndr);
130
-
131117
132118
#endif /* INTERFACE */
133119
134120
#define BLOB_COUNT(pBlob,el_type) (blob_size(pBlob)/sizeof(el_type))
135121
#define COUNT_FOOTNOTES(pBlob) BLOB_COUNT(pBlob,struct footnote)
136122
--- src/markdown.c
+++ src/markdown.c
@@ -112,24 +112,10 @@
112 #define MKD_CELL_ALIGN_RIGHT 2
113 #define MKD_CELL_ALIGN_CENTER 3 /* LEFT | RIGHT */
114 #define MKD_CELL_ALIGN_MASK 3
115 #define MKD_CELL_HEAD 4
116
117
118
119 /**********************
120 * EXPORTED FUNCTIONS *
121 **********************/
122
123 /*
124 ** markdown -- parses the input buffer and renders it into the output buffer.
125 */
126 void markdown(
127 struct Blob *ob,
128 const struct Blob *ib,
129 const struct mkd_renderer *rndr);
130
131
132 #endif /* INTERFACE */
133
134 #define BLOB_COUNT(pBlob,el_type) (blob_size(pBlob)/sizeof(el_type))
135 #define COUNT_FOOTNOTES(pBlob) BLOB_COUNT(pBlob,struct footnote)
136
--- src/markdown.c
+++ src/markdown.c
@@ -112,24 +112,10 @@
112 #define MKD_CELL_ALIGN_RIGHT 2
113 #define MKD_CELL_ALIGN_CENTER 3 /* LEFT | RIGHT */
114 #define MKD_CELL_ALIGN_MASK 3
115 #define MKD_CELL_HEAD 4
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
118 #endif /* INTERFACE */
119
120 #define BLOB_COUNT(pBlob,el_type) (blob_size(pBlob)/sizeof(el_type))
121 #define COUNT_FOOTNOTES(pBlob) BLOB_COUNT(pBlob,struct footnote)
122

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button