Fix compilation error when experimental mode is not set

git-svn: trunk@2440
remotes/push_mirror/metadata
Nigel Horne 19 years ago
parent 313c4fb310
commit cfc8a5f3f5
  1. 9
      clamav-devel/libclamav/js/alloc.c
  2. 9
      clamav-devel/libclamav/js/b_array.c
  3. 9
      clamav-devel/libclamav/js/b_bool.c
  4. 8
      clamav-devel/libclamav/js/b_core.c
  5. 8
      clamav-devel/libclamav/js/b_date.c
  6. 8
      clamav-devel/libclamav/js/b_dir.c
  7. 8
      clamav-devel/libclamav/js/b_file.c
  8. 8
      clamav-devel/libclamav/js/b_func.c
  9. 8
      clamav-devel/libclamav/js/b_math.c
  10. 8
      clamav-devel/libclamav/js/b_number.c
  11. 8
      clamav-devel/libclamav/js/b_object.c
  12. 8
      clamav-devel/libclamav/js/b_regexp.c
  13. 8
      clamav-devel/libclamav/js/b_string.c
  14. 8
      clamav-devel/libclamav/js/b_system.c
  15. 8
      clamav-devel/libclamav/js/b_vm.c
  16. 8
      clamav-devel/libclamav/js/bc.c
  17. 6
      clamav-devel/libclamav/js/compiler.c
  18. 6
      clamav-devel/libclamav/js/crc32.c
  19. 8
      clamav-devel/libclamav/js/debug.c
  20. 8
      clamav-devel/libclamav/js/dl_open.c
  21. 8
      clamav-devel/libclamav/js/heap.c
  22. 8
      clamav-devel/libclamav/js/iostream.c
  23. 8
      clamav-devel/libclamav/js/js.c
  24. 6
      clamav-devel/libclamav/js/main.c
  25. 6
      clamav-devel/libclamav/js/md5c.c
  26. 8
      clamav-devel/libclamav/js/mrgsort.c
  27. 8
      clamav-devel/libclamav/js/object.c
  28. 8
      clamav-devel/libclamav/js/r_pthrs.c
  29. 8
      clamav-devel/libclamav/js/utils.c
  30. 8
      clamav-devel/libclamav/js/vm.c
  31. 8
      clamav-devel/libclamav/js/vmjumps.c
  32. 8
      clamav-devel/libclamav/js/vmswitch.c
  33. 8
      clamav-devel/libclamav/js/xjs.c
  34. 8
      clamav-devel/libclamav/js/xmd5.c

@ -22,9 +22,15 @@
* MA 02111-1307, USA
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/alloc.c,v $
* $Id: alloc.c,v 1.2 2006/10/10 21:30:56 njh Exp $
* $Id: alloc.c,v 1.3 2006/10/28 11:27:44 njh Exp $
*/
#include "js/jsint.h"
@ -309,3 +315,4 @@ js_strdup (JSVirtualMachine *vm, const char *str)
}
#endif /* not JS_DEBUG_MEMORY_LEAKS */
#endif /*CL_EXPERIMENTAL*/

@ -24,7 +24,7 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_array.c,v $
* $Id: b_array.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_array.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
/*
@ -47,6 +47,12 @@
* length
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include "mrgsort.h"
@ -648,3 +654,4 @@ js_builtin_Array (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "Array")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,9 +24,15 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_bool.c,v $
* $Id: b_bool.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_bool.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
/*
@ -151,3 +157,4 @@ js_builtin_Boolean (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "Boolean")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,7 +24,7 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_core.c,v $
* $Id: b_core.c,v 1.1 2006/10/11 10:44:16 njh Exp $
* $Id: b_core.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
/*
@ -44,6 +44,11 @@
* isInt (any)
* print (any[,...])
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -657,3 +662,4 @@ js_builtin_core (JSVirtualMachine *vm)
js_vm_builtin_create (vm, n, info, NULL);
}
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_date.c,v $
* $Id: b_date.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_date.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include "rentrant.h"
@ -790,3 +795,4 @@ js_builtin_Date (JSVirtualMachine *vm)
js_vm_builtin_create (vm, n, info, NULL);
}
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_dir.c,v $
* $Id: b_dir.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_dir.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -317,3 +322,4 @@ js_builtin_Directory (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "Directory")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,7 +24,7 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_file.c,v $
* $Id: b_file.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_file.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
/*
@ -63,6 +63,11 @@
* autoFlush boolean mutable
* bufferSize integer mutable
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -1010,3 +1015,4 @@ js_builtin_File_new (JSVirtualMachine *vm, JSNode *result_return,
/* Create the builtin. */
js_vm_builtin_create (vm, result_return, n->u.vbuiltin->info, ictx);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_func.c,v $
* $Id: b_func.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_func.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -76,3 +81,4 @@ js_builtin_Function (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "Function")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_math.c,v $
* $Id: b_math.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_math.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include "rentrant.h"
@ -509,3 +514,4 @@ js_builtin_Math (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "Math")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,12 +24,17 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_number.c,v $
* $Id: b_number.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_number.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
/*
* Standard: ECMAScript-2.0.draft-22-Apr-98
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -318,3 +323,4 @@ js_builtin_Number (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "Number")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_object.c,v $
* $Id: b_object.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_object.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -193,3 +198,4 @@ js_builtin_Object (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "Object")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_regexp.c,v $
* $Id: b_regexp.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_regexp.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include "regex.h"
@ -1134,3 +1139,4 @@ js_builtin_RegExp_split (JSVirtualMachine *vm, char *data,
if (regs.end)
free (regs.end);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,10 +24,15 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_string.c,v $
* $Id: b_string.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_string.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
/* TODO: global method: String (obj) => string */
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -935,3 +940,4 @@ js_builtin_String (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "RegExp")];
ctx->regexp_info = n->u.vbuiltin->info;
}
#endif /*CL_EXPERIMENTAL*/

@ -24,7 +24,7 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_system.c,v $
* $Id: b_system.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_system.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
/*
@ -55,6 +55,11 @@
* stdin file
* stdout file
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -519,3 +524,4 @@ js_builtin_System (JSVirtualMachine *vm)
js_builtin_File_new (vm, &ctx->pstdin, "stdin", vm->s_stdin, 1);
js_builtin_File_new (vm, &ctx->pstdout, "stdout", vm->s_stdout, 1);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,7 +24,7 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/b_vm.c,v $
* $Id: b_vm.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: b_vm.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
/*
@ -56,6 +56,11 @@
* VM.versionPatch integer
* VM.warnUndef boolean yes
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -443,3 +448,4 @@ js_builtin_VM (JSVirtualMachine *vm)
n = &vm->globals[js_vm_intern (vm, "VM")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/bc.c,v $
* $Id: bc.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: bc.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -222,3 +227,4 @@ js_bc_free (JSByteCode *bc)
js_free (bc->sects);
js_free (bc);
}
#endif /*CL_EXPERIMENTAL*/

@ -1,3 +1,8 @@
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
const unsigned char js_compiler_bytecode[] = {
0xc0, 0x01, 0x4a, 0x53, 0x00, 0x00, 0x00, 0x03,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xef, 0x54,
@ -11196,3 +11201,4 @@ const unsigned char js_compiler_bytecode[] = {
};
unsigned int js_compiler_bytecode_len = 89552;
#define JS_COMPILER_BYTECODE_LEN 89552
#endif /*CL_EXPERIMENTAL*/

@ -42,6 +42,11 @@
/* */
/* -------------------------------------------------------------------- */
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
static unsigned long crc32_tab[] = {
0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L,
0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L,
@ -110,3 +115,4 @@ js_crc32 (const unsigned char *s, unsigned int len)
return crc32val;
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/debug.c,v $
* $Id: debug.c,v 1.1 2006/10/21 22:33:10 njh Exp $
* $Id: debug.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -169,3 +174,4 @@ js_vm_stacktrace (JSVirtualMachine *vm, unsigned int num_frames)
fp = fp->u.iptr;
}
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/dl_open.c,v $
* $Id: dl_open.c,v 1.1 2006/10/21 22:54:22 njh Exp $
* $Id: dl_open.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include <dlfcn.h>
@ -78,3 +83,4 @@ js_dl_sym (void *library, char *symbol, char *error_return,
return sym;
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/heap.c,v $
* $Id: heap.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: heap.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -584,3 +589,4 @@ js_vm_clear_heap (JSVirtualMachine *vm)
/* Just sweep without marking. */
sweep (vm);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/iostream.c,v $
* $Id: iostream.c,v 1.1 2006/10/11 10:44:16 njh Exp $
* $Id: iostream.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -471,3 +476,4 @@ js_iostream_fill_buffer (JSIOStream *stream)
if (stream->data_in_buf == 0)
stream->at_eof = 1;
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/js.c,v $
* $Id: js.c,v 1.2 2006/10/10 21:30:56 njh Exp $
* $Id: js.c,v 1.3 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "js/js.h"
#include "js/jsint.h"
@ -1682,3 +1687,4 @@ iostream_iofunc (JSIOFunc func, void *context, int readp, int writep)
return stream;
}
#endif /*CL_EXPERIMENTAL*/

@ -1,4 +1,9 @@
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#if HAVE_CONFIG_H
#include "js/jsconfig.h"
#endif
@ -157,3 +162,4 @@ create_interp ()
return interp;
}
#endif /*CL_EXPERIMENTAL*/

@ -22,6 +22,11 @@ without express or implied warranty of any kind.
These notices must be retained in any copies of any part of this
documentation and/or software.
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include "md5.h"
@ -333,3 +338,4 @@ unsigned int len;
for (i = 0; i < len; i++)
((char *)output)[i] = (char)value;
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/mrgsort.c,v $
* $Id: mrgsort.c,v 1.1 2006/10/21 22:54:22 njh Exp $
* $Id: mrgsort.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include <stdio.h>
#include <stdlib.h>
@ -117,3 +122,4 @@ mergesort_r (void *base, unsigned int number_of_elements,
free (tmp);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/object.c,v $
* $Id: object.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: object.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -533,3 +538,4 @@ hash_lookup (JSObject *obj, char *name, unsigned int name_len)
return -1;
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/r_pthrs.c,v $
* $Id: r_pthrs.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: r_pthrs.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include "rentrant.h"
@ -127,3 +132,4 @@ js_drand48 (void *drand48_context, double *random_return)
}
#endif /* not DRAND48_R_WITH_DRAND48D */
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/utils.c,v $
* $Id: utils.c,v 1.1 2006/10/19 17:28:58 njh Exp $
* $Id: utils.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -437,3 +442,4 @@ js_vm_to_boolean (JSVirtualMachine *vm, JSNode *n)
return result;
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/vm.c,v $
* $Id: vm.c,v 1.1 2006/10/11 10:44:16 njh Exp $
* $Id: vm.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -966,3 +971,4 @@ intern_builtins (JSVirtualMachine *vm)
js_builtin_Object (vm);
js_builtin_String (vm);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/vmjumps.c,v $
* $Id: vmjumps.c,v 1.1 2006/10/11 10:44:16 njh Exp $
* $Id: vmjumps.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -581,3 +586,4 @@ js_vm_jumps_debug_position (JSVirtualMachine *vm, unsigned int *linenum_return)
return NULL;
#endif /* not (__GNUC__ && !DISABLE_JUMPS) */
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/vmswitch.c,v $
* $Id: vmswitch.c,v 1.1 2006/10/11 10:44:16 njh Exp $
* $Id: vmswitch.c,v 1.2 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
@ -552,3 +557,4 @@ execute_code (JSVirtualMachine *vm, JSNode *object, Function *f,
JS_COPY (&vm->exec_result, JS_SP1);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/xjs.c,v $
* $Id: xjs.c,v 1.2 2006/10/10 21:30:56 njh Exp $
* $Id: xjs.c,v 1.3 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "js/js.h"
#include "js/jsint.h"
@ -458,3 +463,4 @@ js_ext_JS (JSInterpPtr interp)
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

@ -24,8 +24,13 @@
/*
* $Source: /tmp/cvsroot-15-2-2007/clamav-devel/libclamav/js/xmd5.c,v $
* $Id: xmd5.c,v 1.3 2006/10/21 22:54:22 njh Exp $
* $Id: xmd5.c,v 1.4 2006/10/28 11:27:44 njh Exp $
*/
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#ifdef CL_EXPERIMENTAL
#include "jsint.h"
#include "md5.h"
@ -220,3 +225,4 @@ js_ext_MD5 (JSInterpPtr interp)
n = &vm->globals[js_vm_intern (vm, "MD5")];
js_vm_builtin_create (vm, n, info, NULL);
}
#endif /*CL_EXPERIMENTAL*/

Loading…
Cancel
Save