diff options
author | Gabe Black <gabeblack@google.com> | 2012-08-28 16:31:09 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-11-07 18:30:21 +0100 |
commit | 54c800a50c2c052ce13e29bedc608e180fddc70b (patch) | |
tree | a7a44e87a266efa7d0e11dc6f126931474644883 /payloads/libpayload/include/libpayload.h | |
parent | b9edbbd7bf799a194fc76bf9a514e4547fe97d26 (diff) | |
download | coreboot-54c800a50c2c052ce13e29bedc608e180fddc70b.tar.xz |
Move the definition of ipchksum into its own header file.
Change-Id: Ifb7c18f9ca566bd50ca138ffd8af951375089537
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/1722
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/include/libpayload.h')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index c3729e2b4d..b47d79f7fc 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -45,6 +45,7 @@ #include <libpayload-config.h> #include <ctype.h> +#include <ipchksum.h> #include <stddef.h> #include <stdio.h> #include <stdarg.h> @@ -262,13 +263,6 @@ void console_add_input_driver(struct console_input_driver *in); #define havechar havekey /** @} */ -/** - * @defgroup ipchecksum IP checksum functions - * @{ - */ -unsigned short ipchksum(const void *ptr, unsigned long nbytes); -/** @} */ - /** * @defgroup exec Execution functions |