'strings' should be 'string'.

pull/98/head
garenchan 6 years ago
parent a95836d67d
commit 5c61020541

@ -1,5 +1,5 @@
#ifndef STRINGS_H
#define STRINGS_H
#ifndef STRING_H
#define STRING_H
void int_to_ascii(int n, char str[]);
void reverse(char s[]);

@ -15,7 +15,7 @@ our first page starts at 0x10000 (as hardcoded on `mem.c`) and
subsequent `kmalloc()`'s produce a new address which is
aligned 4096 bytes or 0x1000 from the previous one.
Note that we added a new `strings.c:hex_to_ascii()` for
Note that we added a new `string.c:hex_to_ascii()` for
nicer printing of hex numbers.
Another cosmetic modification is to rename `types.c` to

@ -1,5 +1,5 @@
#ifndef STRINGS_H
#define STRINGS_H
#ifndef STRING_H
#define STRING_H
void int_to_ascii(int n, char str[]);
void hex_to_ascii(int n, char str[]);

@ -1,5 +1,5 @@
#ifndef STRINGS_H
#define STRINGS_H
#ifndef STRING_H
#define STRING_H
void int_to_ascii(int n, char str[]);
void hex_to_ascii(int n, char str[]);

Loading…
Cancel
Save