summaryrefslogtreecommitdiffstats
path: root/src/cmd/tpic/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/tpic/input.c')
-rw-r--r--src/cmd/tpic/input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/tpic/input.c b/src/cmd/tpic/input.c
index 817488c8..78b6cfb3 100644
--- a/src/cmd/tpic/input.c
+++ b/src/cmd/tpic/input.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <math.h>
#include <ctype.h>
#include <errno.h>
#include "pic.h"
@@ -511,7 +512,7 @@ struct symtab*
copythru(char *s) /* collect the macro name or body for thru */
{
struct symtab *p;
- char *q, *addnewline();
+ char *q;
p = lookup(s);
if (p != NULL) {