Skip to content

Commit 9c2328d

Browse files
committed
Minor changes to examples
1 parent 2a79d06 commit 9c2328d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

examples/02_inline_hashmap.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@
1111
#define EXTLIB_IMPL
1212
#include "../extlib.h"
1313

14-
#define HIST_DEF 80
15-
1614
#define shift(argc, argv) ((argc)--, *(argv)++)
15+
#define HIST_DEF 80
1716

1817
const char *symbols = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
18+
static bool reverse;
1919

2020
typedef Entry(StringSlice, size_t) WordFreq;
2121

22-
static bool reverse;
23-
2422
static int qsort_cmp(const void *a, const void *b) {
2523
const WordFreq *e1 = a, *e2 = b;
2624
if(e1->value < e2->value) return reverse ? -1 : 1;

0 commit comments

Comments
 (0)