blobGetFilename is now static()

git-svn: trunk@3035
remotes/push_mirror/metadata
Nigel Horne 19 years ago
parent 62d09ad609
commit 18682e484c
  1. 4
      ChangeLog
  2. 4
      libclamav/blob.c
  3. 1
      libclamav/blob.h

@ -1,3 +1,7 @@
Sat Apr 21 23:08:10 BST 2007 (njh)
----------------------------------
* libclamav/blob.[ch]: blobGetFilename is now static()
Thu Apr 19 09:28:14 BST 2007 (njh)
----------------------------------
* clamav-milter: Bug 468, reversed - the doc is right it's the code

@ -69,6 +69,8 @@ static char const rcsid[] = "$Id: blob.c,v 1.64 2007/02/12 22:25:14 njh Exp $";
* large sized files
*/
static const char *blobGetFilename(const blob *b);
blob *
blobCreate(void)
{
@ -138,7 +140,7 @@ blobSetFilename(blob *b, const char *dir, const char *filename)
sanitiseName(b->name);
}
const char *
static const char *
blobGetFilename(const blob *b)
{
assert(b != NULL);

@ -38,7 +38,6 @@ blob *blobCreate(void);
void blobDestroy(blob *b);
void blobArrayDestroy(blob *b[], int n);
void blobSetFilename(blob *b, const char *dir, const char *filename);
const char *blobGetFilename(const blob *b);
int blobAddData(blob *b, const unsigned char *data, size_t len);
unsigned char *blobGetData(const blob *b);
size_t blobGetDataSize(const blob *b);

Loading…
Cancel
Save