]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - c_src/linux/kstrtox.h
move Rust sources to top level, C sources into c_src
[bcachefs-tools-debian] / c_src / linux / kstrtox.h
diff --git a/c_src/linux/kstrtox.h b/c_src/linux/kstrtox.h
new file mode 100644 (file)
index 0000000..910b6de
--- /dev/null
@@ -0,0 +1,7 @@
+#ifndef _LIB_KSTRTOX_H
+#define _LIB_KSTRTOX_H
+
+const char *_parse_integer_fixup_radix(const char *s, unsigned int *base);
+unsigned int _parse_integer(const char *s, unsigned int base, unsigned long long *res);
+
+#endif