Skip to content

Commit

Permalink
1. Add a prototype for ___mkd_freefootnote() to markdown.h
Browse files Browse the repository at this point in the history
2. Remove some unused variables from various functions in generate.c
  • Loading branch information
Orc committed Jun 16, 2009
1 parent c1f5a20 commit 60062ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions generate.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ linkysize(MMIOT *f, Footnote *ref)
int height=0, width=0;
int whence = mmiottell(f);
int c;
int ok;

if ( isspace(peek(f,0)) ) {
pull(f); /* eat '=' */
Expand Down Expand Up @@ -464,8 +463,6 @@ linkysize(MMIOT *f, Footnote *ref)
static int
linkyurl(MMIOT *f, int image, Footnote *p)
{
int size = 0;
char *ptr;
int c;
int mayneedtotrim=0;

Expand Down
1 change: 1 addition & 0 deletions markdown.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ extern Document *mkd_string(char*,int, int);
extern void ___mkd_freeLine(Line *);
extern void ___mkd_freeLines(Line *);
extern void ___mkd_freeParagraph(Paragraph *);
extern void ___mkd_freefootnote(Footnote *);
extern void ___mkd_freefootnotes(MMIOT *);
extern void ___mkd_initmmiot(MMIOT *, void *);
extern void ___mkd_freemmiot(MMIOT *, void *);
Expand Down

0 comments on commit 60062ad

Please sign in to comment.