X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=moldyn.h;h=ee0a6dc87429495a99be906c7fbf8e409bb705aa;hb=23cc92be2a2ac2eed0fd38fd0c3e59189821bf41;hp=6fda9ceef79e9853c0967c31004a59240e83c820;hpb=452a348351ae8a2255809918a05683d2510655ce;p=physik%2Fposic.git diff --git a/moldyn.h b/moldyn.h index 6fda9ce..ee0a6dc 100644 --- a/moldyn.h +++ b/moldyn.h @@ -117,12 +117,8 @@ typedef struct s_moldyn { int (*func3b_j1)(struct s_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc); int (*func3b_j2)(struct s_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc); int (*func3b_j3)(struct s_moldyn *moldyn,t_atom *ai,t_atom *aj,u8 bc); -#ifdef PTHREADS - void *(*func3b_k1)(void *ptr); -#else int (*func3b_k1)(struct s_moldyn *moldyn, t_atom *ai,t_atom *aj,t_atom *ak,u8 bck); -#endif int (*func3b_k2)(struct s_moldyn *moldyn, t_atom *ai,t_atom *aj,t_atom *ak,u8 bck); void *pot_params; @@ -485,7 +481,7 @@ int bond_analyze(t_moldyn *moldyn,double *quality); int visual_init(t_moldyn *moldyn,char *filebase); int visual_bonds_process(t_moldyn *moldyn,t_atom *itom,t_atom *jtom, void *data,u8 bc); -#ifdef PTHREADS +#ifdef VISUAL_THREAD void *visual_atoms(void *ptr); #else int visual_atoms(t_moldyn *moldyn);