aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tpic/input.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-14 00:15:16 +0000
committerrsc <devnull@localhost>2006-04-14 00:15:16 +0000
commit90a99688be7fd813273e1f1f28ba8fa34cb9dc44 (patch)
treea36265435b486a6ec4837cb6bb26ac67c555e2eb /src/cmd/tpic/input.c
parentb6d98463b416e9d95bc88f948b4abdff6b24aede (diff)
downloadplan9port-90a99688be7fd813273e1f1f28ba8fa34cb9dc44.tar.gz
plan9port-90a99688be7fd813273e1f1f28ba8fa34cb9dc44.tar.bz2
plan9port-90a99688be7fd813273e1f1f28ba8fa34cb9dc44.zip
fixes
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) {