aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/smbios.h1
-rw-r--r--include/string.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/smbios.h b/include/smbios.h
new file mode 100644
index 0000000..ec033ce
--- /dev/null
+++ b/include/smbios.h
@@ -0,0 +1 @@
+void extract_smbios(void);
diff --git a/include/string.h b/include/string.h
index d1bb037..cf9fde9 100644
--- a/include/string.h
+++ b/include/string.h
@@ -2,6 +2,7 @@
#define BIOS_STRING_H
#include <stddef.h>
+#include <inttypes.h>
unsigned long strlen(const char *buf);
char *strcat(char *dest, const char *src);
@@ -12,6 +13,7 @@ char *strstr(const char *s1, const char *s2);
int memcmp(const void *s1, const void *s2, size_t n);
void *memmove(void *dest, const void *src, size_t n);
void *memchr(const void *s, int c, size_t n);
+uint8_t csum8(uint8_t *buf, uint32_t len);
static inline void *memset(void *s, int c, size_t n)
{