]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/io/console/misc.cc
fixes/cleanup
[polintos/scott/priv.git] / kernel / io / console / misc.cc
index 518e38bf0410ab88e5ed64d9a64a1d11c6b44aba..7da03244e01d4bfbafd0f560fdf15fbde6e45315 100644 (file)
@@ -18,7 +18,7 @@
 
 namespace IO {
 namespace Console {
-       void Console::write(char *data, size_t len)
+       void Console::write(const char *data, size_t len)
        {
                u64 len64 = len;
                write(Array<octet>((octet *)data, len), &len64);
@@ -41,8 +41,6 @@ Lock::SpinLock printf_lock;
 // happens.  If you really need that, you'll need to call snprintf
 // and primary_console->write yourself.
 
-void vga_write(uint8_t *buf, u64 len);
-
 size_t printf(const char *str, ...)
 {
        Lock::AutoSpinLockRecIRQ autolock(printf_lock);