diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2016-07-07 19:46:47 -0400 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2016-07-07 19:46:47 -0400 |
commit | f528b66a0ea74b306bed22d243495458c8cf2383 (patch) | |
tree | 8f29e25b83ca88529da26e8b9e0e988005357f4a /src/checksum.h | |
parent | 03bdee772197c600b0066ebd1f27172332045da2 (diff) | |
download | udpastcp-f528b66a0ea74b306bed22d243495458c8cf2383.tar.xz udpastcp-f528b66a0ea74b306bed22d243495458c8cf2383.zip |
Fix memory leaks, miscellaneous issues.
Diffstat (limited to 'src/checksum.h')
-rw-r--r-- | src/checksum.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/checksum.h b/src/checksum.h index 700ee1a..74fe69f 100644 --- a/src/checksum.h +++ b/src/checksum.h @@ -1,7 +1,6 @@ -#include <netinet/in.h> -#include <stdarg.h> #include <stdint.h> -#include <stdlib.h> + +struct sockaddr; /* calculates the checksum of len bytes at buff when combined with wsum. * return value is already in network order, but must be inverted before |