Ignore:
Timestamp:
Oct 28, 2007, 1:17:58 AM (17 years ago)
Author:
rainer
Message:

Fix compile errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cutest_sh_tiger0.c

    r133 r137  
    99#include "sh_tiger.h"
    1010
     11#if defined(HAVE_PTHREAD) && defined(SH_STEALTH)
     12extern void sh_g_init();
     13#endif
     14
     15
    1116static void init() {
    1217
     
    1621  int i;
    1722
     23#if defined(HAVE_PTHREAD) && defined(SH_STEALTH)
     24  sh_g_init();
     25#endif
    1826  skey = (sh_key_t *) malloc (sizeof(sh_key_t));
    1927  if (skey != NULL)
     
    6977  char hashbuf[KEYBUF_SIZE];
    7078
     79#if defined(HAVE_PTHREAD) && defined(SH_STEALTH)
     80  sh_g_init();
     81#endif
     82
    7183  input  = "";
    7284  actual = sh_tiger_hash(input, TIGER_DATA, strlen(input), hashbuf, sizeof(hashbuf));
Note: See TracChangeset for help on using the changeset viewer.