aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2011-01-08 12:06:54 -0500
committerKevin O'Connor <kevin@koconnor.net>2011-01-08 12:06:54 -0500
commit9e881a3821b045c9b75c64e9c349dc82b276df28 (patch)
treec711539acab1466efd5e2047557601d293f42340 /src/util.h
parent3c241edf3d7ef29c21e63ab74cfc7cb6f4a92ab3 (diff)
downloadseabios-hppa-9e881a3821b045c9b75c64e9c349dc82b276df28.zip
seabios-hppa-9e881a3821b045c9b75c64e9c349dc82b276df28.tar.gz
seabios-hppa-9e881a3821b045c9b75c64e9c349dc82b276df28.tar.bz2
Extract space trimming code from ATA and use in USB and bootorder code.
Introduce function nullTrailingSpace() that nulls blank characters from the end of a string. Use this function in the ATA, USB MSC, and bootorder code.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 7102c27..17fc54a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -210,6 +210,7 @@ void iomemcpy(void *d, const void *s, u32 len);
void *memmove(void *d, const void *s, size_t len);
char *strtcpy(char *dest, const char *src, size_t len);
char *strchr(const char *s, int c);
+void nullTrailingSpace(char *buf);
int get_keystroke(int msec);
// stacks.c