Skip to content
Snippets Groups Projects
Commit 65645c77 authored by rswindell's avatar rswindell
Browse files

A few minor fixes for problems exposed by bcc32.

parent 62d3805f
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@
#include <stdio.h>
#include "dirwrap.h" /* MAX_PATH */
#include "md5.h" /* MD5_DIGEST_SIZE */
/**********/
/* Macros */
......
......@@ -51,6 +51,9 @@
#include "smblib.h"
#include "genwrap.h"
#include "filewrap.h"
#include "md5.h"
#include "crc16.h"
#include "crc32.h"
/* Use smb_ver() and smb_lib_ver() to obtain these values */
#define SMBLIB_VERSION "2.40" /* SMB library version */
......@@ -2456,7 +2459,7 @@ static char* strip_chars(uchar* str, uchar* set)
/* Allocates and calculates hashes of data (based on flags) */
/* Returns NULL on failure */
hash_t* smb_hash(ulong msgnum, ulong t, unsigned source, unsigned flags, uchar* data)
hash_t* SMBCALL smb_hash(ulong msgnum, ulong t, unsigned source, unsigned flags, uchar* data)
{
uchar* p=data;
size_t len;
......
......@@ -39,9 +39,6 @@
#define _SMBLIB_H
#include "lzh.h"
#include "md5.h"
#include "crc16.h"
#include "crc32.h"
#ifdef SMBEXPORT
#undef SMBEXPORT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment