Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:ace4b3aef52b, committed 2013-03-07
- Comitter:
- sam_grove
- Date:
- Thu Mar 07 20:59:49 2013 +0000
- Parent:
- 0:39b5762958a4
- Commit message:
- More documentation updates
Changed in this revision
| checksum.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/checksum.h Thu Mar 07 20:55:29 2013 +0000 +++ b/checksum.h Thu Mar 07 20:59:49 2013 +0000 @@ -19,6 +19,11 @@ * limitations under the License. */ +#ifndef CHECKSUM_H +#define CHECKSUM_H + +#include <stdint.h> + /** Helpers for working data streams * * Example: @@ -56,11 +61,6 @@ * } * @endcode */ - -#ifndef CHECKSUM_H -#define CHECKSUM_H - -#include <stdint.h> /** Calculate the checksum of a data stream * Assumes the checksum is in the last position, 8-bits and 0 - the sum of data