factored ipmi_csum to helper.c, as both lan and lanplus use it.

This commit is contained in:
Jeremy Ellington 2004-05-27 15:49:57 +00:00
parent 4a76c7f66c
commit fd96022ec2

View File

@ -53,6 +53,8 @@ void printbuf(const unsigned char * buf, int len, const char * desc);
void signal_handler(int sig, void * handler);
unsigned char ipmi_csum(unsigned char * d, int s);
#define SIG_IGNORE(s) ((void)signal((s), SIG_IGN))
#define SIG_DEFAULT(s) ((void)signal((s), SIG_DFL))
#define SIG_HANDLE(s,h) ((void)signal_handler((s), (h)))