You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
557 B
C
29 lines
557 B
C
17 years ago
|
#include <sys/time.h>
|
||
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
#ifdef LowerUnderscore
|
||
|
#define psi_c_diffadd psi_c_diffadd_
|
||
|
#endif
|
||
|
#ifdef LowerDoubleUnderscore
|
||
|
#define psi_c_diffadd psi_c_diffadd__
|
||
|
#endif
|
||
|
#ifdef LowerCase
|
||
|
#define psi_c_diffadd psi_c_diffadd
|
||
|
#endif
|
||
|
#ifdef UpperUnderscore
|
||
|
#define psi_c_diffadd PSI_C_DIFFADD_
|
||
|
#endif
|
||
|
#ifdef UpperDoubleUnderscore
|
||
|
#define psi_c_diffadd PSI_C_DIFFADD__
|
||
|
#endif
|
||
|
#ifdef UpperCase
|
||
|
#define psi_c_diffadd PSI_C_DIFFADD
|
||
|
#endif
|
||
|
|
||
|
void psi_c_diffadd(void *p1, void *p2, int *ret)
|
||
|
{
|
||
|
*ret = p2-p1;
|
||
|
return;
|
||
|
}
|