summary refs log tree commit diff
path: root/gas.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas.c')
-rw-r--r--gas.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gas.c b/gas.c
index f8f4051..d339f3e 100644
--- a/gas.c
+++ b/gas.c
@@ -6,7 +6,7 @@ char *gasloc, *gassym;
 void
 gasemitdat(Dat *d, FILE *f)
 {
-	static int align;
+	static int aligned;
 	static char *dtoa[] = {
 		[DAlign] = ".balign",
 		[DB] = "\t.byte",
@@ -18,7 +18,7 @@ gasemitdat(Dat *d, FILE *f)
 
 	switch (d->type) {
 	case DStart:
-		align = 0;
+		aligned = 0;
 		if (d->u.str) {
 			fprintf(f, ".section %s\n", d->u.str);
 		} else {
@@ -28,7 +28,7 @@ gasemitdat(Dat *d, FILE *f)
 	case DEnd:
 		break;
 	case DName:
-		if (!align)
+		if (!aligned)
 			fprintf(f, ".balign 8\n");
 		p = d->u.str[0] == '"' ? "" : gassym;
 		if (d->export)
@@ -40,7 +40,7 @@ gasemitdat(Dat *d, FILE *f)
 		break;
 	default:
 		if (d->type == DAlign)
-			align = 1;
+			aligned = 1;
 
 		if (d->isstr) {
 			if (d->type != DB)