fixed spacing and comments

This commit is contained in:
Andrew Haynes
2026-07-15 00:53:51 -04:00
parent 1b7eb6f076
commit 55db25040a
2 changed files with 8 additions and 4 deletions
+2 -4
View File
@@ -23,18 +23,16 @@ u64to_u32(const unsigned long clr, const unsigned long u64_div)
(b / u64_div));
}
// Utilizing new knowledge below
void
__attribute__((overloadable))
print_attr(const PPM *src) {
printf("Name: %s\nFMT: %c\nWidth: %i, Height: %i\nLength: %i",
printf("Name: %s\nFMT: %c\nWidth: %i, Height: %i\nLength: %i\n",
src->name, src->fmt, src->width, src->height, src->len);
}
void
__attribute__((overloadable))
print_attr(const JPEG *src) {
printf("Name: %s\nWidth: %i, Height: %i\nLength: %i",
printf("Name: %s\nWidth: %i, Height: %i\nLength: %i\n",
src->name, src->width, src->height, src->len);
}