Skip to content

Commit

Permalink
Fix NO_MALLOC_DECL redefinition warning
Browse files Browse the repository at this point in the history
Thanks to kberry.

Closes #80
  • Loading branch information
pkubowicz committed Dec 16, 2023
1 parent bd25972 commit e338b83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions detex.l
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@
#define STRIPARGS(x) cArgs=x; LaBEGIN LaMacro2
#define CITE(x) if (fLatex && !fCite) KILLARGS(x)

/* avoid gratuitous gcc warning from passing -D for this on command line */
#ifndef NO_MALLOC_DECL
#define NO_MALLOC_DECL
#endif

void LineBreak();
void Ignore();
Expand Down

0 comments on commit e338b83

Please sign in to comment.