File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ void setcursor(console* c);
5353/* Output a null terminated C string at the given cursor coordinates then update the
5454 * cursor coordinates to the end of the string, scrolling the screen if needed.
5555 */
56- void putstring (console * c , char * message );
57- void dputstring (char * message );
56+ void putstring (console * c , const char * message );
57+ void dputstring (const char * message );
5858
5959/* Output a character to the screen at the given cursor coordinates then update the
6060 * cursor coordinates to the cell after the character, scrolling the screen if needed.
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ void put(console* c, const char n)
9999 terminal_request .response -> write (terminal , & n , 1 );
100100}
101101
102- void dputstring (char * message )
102+ void dputstring (const char * message )
103103{
104104 for (; * message ; ++ message ) {
105105 outb (0xE9 , * message );
@@ -115,7 +115,7 @@ void dputstring(char* message)
115115 * handled by put() and setcursor(), and the internal functions it
116116 * calls.
117117 */
118- void putstring (console * c , char * message )
118+ void putstring (console * c , const char * message )
119119{
120120 dputstring (message );
121121 struct limine_terminal * terminal = terminal_request .response -> terminals [0 ];
You can’t perform that action at this time.
0 commit comments