aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/scat
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2011-05-17 18:48:42 -0400
committerRuss Cox <rsc@swtch.com>2011-05-17 18:48:42 -0400
commitaf0dea45319aaa8aad011feac472c367165e9020 (patch)
tree4492de85041e8e52894b3fb47e571a254b4c7d14 /src/cmd/scat
parent4e247f10fac36e3234aeb6490a66ac57d9520a4a (diff)
downloadplan9port-af0dea45319aaa8aad011feac472c367165e9020.tar.gz
plan9port-af0dea45319aaa8aad011feac472c367165e9020.tar.bz2
plan9port-af0dea45319aaa8aad011feac472c367165e9020.zip
SunOS fixes (thanks Aram Hăvărneanu)
R=rsc, rsc http://codereview.appspot.com/4271084
Diffstat (limited to 'src/cmd/scat')
-rw-r--r--src/cmd/scat/scat.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/cmd/scat/scat.c b/src/cmd/scat/scat.c
index 26bea1c3..35b7e7aa 100644
--- a/src/cmd/scat/scat.c
+++ b/src/cmd/scat/scat.c
@@ -1324,21 +1324,21 @@ lookup(char *s, int doreset)
char *ngctypes[] =
{
-[Galaxy] "Gx",
-[PlanetaryN] "Pl",
-[OpenCl] "OC",
-[GlobularCl] "Gb",
-[DiffuseN] "Nb",
-[NebularCl] "C+N",
-[Asterism] "Ast",
-[Knot] "Kt",
-[Triple] "***",
-[Double] "D*",
-[Single] "*",
-[Uncertain] "?",
-[Nonexistent] "-",
-[Unknown] " ",
-[PlateDefect] "PD"
+[Galaxy] = "Gx",
+[PlanetaryN] = "Pl",
+[OpenCl] = "OC",
+[GlobularCl] = "Gb",
+[DiffuseN] = "Nb",
+[NebularCl] = "C+N",
+[Asterism] = "Ast",
+[Knot] = "Kt",
+[Triple] = "***",
+[Double] = "D*",
+[Single] = "*",
+[Uncertain] = "?",
+[Nonexistent] = "-",
+[Unknown] = " ",
+[PlateDefect] = "PD"
};
char*