aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tpic
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2014-02-27 23:17:47 -0500
committerShenghou Ma <minux.ma@gmail.com>2014-02-27 23:17:47 -0500
commit20035ed43cfd67cddd01969e155794e1e057d9e6 (patch)
treeb8d840938e7f506f433ff6abc0b816e0b7cf3206 /src/cmd/tpic
parentdb800afb4e7b46df67feba70cda683f34110619b (diff)
downloadplan9port-20035ed43cfd67cddd01969e155794e1e057d9e6.tar.gz
plan9port-20035ed43cfd67cddd01969e155794e1e057d9e6.tar.bz2
plan9port-20035ed43cfd67cddd01969e155794e1e057d9e6.zip
all: DragonFly port.
Fix compilation problems, libdraw still doesn't work right yet. LGTM=rsc R=rsc https://codereview.appspot.com/67820046
Diffstat (limited to 'src/cmd/tpic')
-rw-r--r--src/cmd/tpic/input.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/tpic/input.c b/src/cmd/tpic/input.c
index a5928ece..6885f650 100644
--- a/src/cmd/tpic/input.c
+++ b/src/cmd/tpic/input.c
@@ -428,8 +428,6 @@ pbstr(char *s)
double
errcheck(double x, char *s)
{
- extern int errno;
-
if (errno == EDOM) {
errno = 0;
ERROR "%s argument out of domain", s WARNING;