ref: b95034ed959dbc24a91df409a35ae8282ba15cdd
parent: 8109417716fb89a5feb0f9029f13cc2c0613c94f
author: Eddie Thieda <eddie.thieda@gmail.com>
date: Thu Aug 15 22:26:06 EDT 2019
Fixed some typos in the comments about the union.
--- a/src/libscc/alloc.c
+++ b/src/libscc/alloc.c
@@ -3,14 +3,14 @@
/*
* This is the most pedantic piece of code that I have written
- * in my life. The next union is used to enforce the aligmnet
- * of the address returned by new(). A union has the aligment
- * of the field with the biggest aligment. This union has all
- * the types that we use in scc, and we round all the address
- * to the aligment of this struct, so we can be sure that any
+ * in my life. The next union is used to enforce the alignment
+ * of the address returned by new(). A union has the alignment
+ * of the field with the biggest alignment. This union has all
+ * the types that we use in scc, and we round all the addresses
+ * to the alignment of this struct, so we can be sure that any
* pointer using that address will be safe. The field ap is
* in the union to be sure that struct pointers are included
- * in the list, although they will have the same aligment or
+ * in the list, although they will have the same alignment or
* smaller than void *, but I wanted to be pedantic.
*/
union hdr {