'strings' should be 'string'.

This commit is contained in:
garenchan 2018-11-28 18:33:13 +08:00
parent a95836d67d
commit 5c61020541
4 changed files with 7 additions and 7 deletions

View File

@ -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[]);

View File

@ -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

View File

@ -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[]);

View File

@ -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[]);