summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/new_pque.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/new_pque.c')
-rw-r--r--misc/examples/new_pque.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/new_pque.c b/misc/examples/new_pque.c
index 9147e3f2..5b26b3de 100644
--- a/misc/examples/new_pque.c
+++ b/misc/examples/new_pque.c
@@ -1,6 +1,6 @@
#include <stdio.h>
-struct Point { int x, y; } typedef Point;
+typedef struct Point { int x, y; } Point;
#define i_type PointQ
#define i_val Point