summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/libpayload.h
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2012-08-28 16:31:09 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-11-07 18:30:21 +0100
commit54c800a50c2c052ce13e29bedc608e180fddc70b (patch)
treea7a44e87a266efa7d0e11dc6f126931474644883 /payloads/libpayload/include/libpayload.h
parentb9edbbd7bf799a194fc76bf9a514e4547fe97d26 (diff)
downloadcoreboot-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.h8
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