+extern char *strsep(char **, const char *);
+extern void *memchr(const void *, int, size_t);
+extern void url_decode(char *str);
+
+/*
+ * NOTE: snprintf() returns the full length of the formatted string even if it
+ * couldn't fit in the supplied buffer.
+ * Use scnprintf() if you need the actual number of bytes (minus the \0)
+ */
+int snprintf(char *, size_t, const char *, ...) __printflike(3, 4);
+int scnprintf(char *, size_t, const char *, ...) __printflike(3, 4);
+
+/* sprintf() is being deprecated. Please use snprintf() instead. */
+int sprintf(char *bufp, const char *, ...) __deprecated __printflike(2, 3);
+int sscanf(const char *, char const *, ...) __scanflike(2, 3);
+int printf(const char *, ...) __printflike(1, 2);
+
+#if KERNEL_PRIVATE
+int _consume_printf_args(int, ...);
+#endif
+
+#if CONFIG_NO_PRINTF_STRINGS
+#if KERNEL_PRIVATE
+#define printf(x, ...) _consume_printf_args( 0, ## __VA_ARGS__ )
+#else
+#define printf(x, ...) do {} while (0)
+#endif
+#endif
+
+uint16_t crc16(uint16_t crc, const void *bufp, size_t len);
+uint32_t crc32(uint32_t crc, const void *bufp, size_t len);