Browse code

blobGetFilename is now static()

git-svn: trunk@3035

Nigel Horne authored on 2007/04/22 07:59:28
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sat Apr 21 23:08:10 BST 2007 (njh)
2
+----------------------------------
3
+  * libclamav/blob.[ch]:	blobGetFilename is now static()
4
+
1 5
 Thu Apr 19 09:28:14 BST 2007 (njh)
2 6
 ----------------------------------
3 7
   * 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 $";
69 69
 				 * large sized files
70 70
 				 */
71 71
 
72
+static	const	char	*blobGetFilename(const blob *b);
73
+
72 74
 blob *
73 75
 blobCreate(void)
74 76
 {
... ...
@@ -138,7 +140,7 @@ blobSetFilename(blob *b, const char *dir, const char *filename)
138 138
 		sanitiseName(b->name);
139 139
 }
140 140
 
141
-const char *
141
+static const char *
142 142
 blobGetFilename(const blob *b)
143 143
 {
144 144
 	assert(b != NULL);
... ...
@@ -38,7 +38,6 @@ blob	*blobCreate(void);
38 38
 void	blobDestroy(blob *b);
39 39
 void	blobArrayDestroy(blob *b[], int n);
40 40
 void	blobSetFilename(blob *b, const char *dir, const char *filename);
41
-const	char	*blobGetFilename(const blob *b);
42 41
 int	blobAddData(blob *b, const unsigned char *data, size_t len);
43 42
 unsigned char *blobGetData(const blob *b);
44 43
 size_t	blobGetDataSize(const blob *b);