Fix compilation error on Solaris

git-svn: trunk@1170
remotes/push_mirror/metadata
Nigel Horne 21 years ago
parent 1d619765f3
commit 4c4eb46437
  1. 13
      clamav-devel/libclamav/line.c

@ -16,6 +16,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* *
* $Log: line.c,v $ * $Log: line.c,v $
* Revision 1.7 2004/12/08 20:07:23 nigelhorne
* Fix compilation error on Solaris
*
* Revision 1.6 2004/10/14 17:45:55 nigelhorne * Revision 1.6 2004/10/14 17:45:55 nigelhorne
* Try to reclaim some memory if it becomes low when decoding * Try to reclaim some memory if it becomes low when decoding
* *
@ -36,12 +39,16 @@
* *
*/ */
static char const rcsid[] = "$Id: line.c,v 1.6 2004/10/14 17:45:55 nigelhorne Exp $"; static char const rcsid[] = "$Id: line.c,v 1.7 2004/12/08 20:07:23 nigelhorne Exp $";
#if HAVE_CONFIG_H #if HAVE_CONFIG_H
#include "clamav-config.h" #include "clamav-config.h"
#endif #endif
#ifndef CL_DEBUG
#define NDEBUG /* map CLAMAV debug onto standard */
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
@ -49,10 +56,6 @@ static char const rcsid[] = "$Id: line.c,v 1.6 2004/10/14 17:45:55 nigelhorne Ex
#include "line.h" #include "line.h"
#include "others.h" #include "others.h"
#ifndef CL_DEBUG
#define NDEBUG /* map CLAMAV debug onto standard */
#endif
#ifdef OLD #ifdef OLD
line_t * line_t *
lineCreate(const char *data) lineCreate(const char *data)

Loading…
Cancel
Save