tweak types
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@53 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
4ac6d61adc
commit
da6aefb5cb
|
@ -90,7 +90,7 @@ struct iphdr {
|
||||||
/* what should the returns from this function be?? */
|
/* what should the returns from this function be?? */
|
||||||
/* I dont think they are currently consistant between windows and *nix */
|
/* I dont think they are currently consistant between windows and *nix */
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
static __inline__ int tdmv_api_ioctl(sng_fd_t fd, wanpipe_tdm_api_cmd_t *tdm_api_cmd)
|
static __inline__ int tdmv_api_ioctl(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api_cmd)
|
||||||
{
|
{
|
||||||
/* can we make the structure passed for this on nix and windows the same */
|
/* can we make the structure passed for this on nix and windows the same */
|
||||||
/* so we don't have to do the extra 2 memcpy's on windows for this ? */
|
/* so we don't have to do the extra 2 memcpy's on windows for this ? */
|
||||||
|
@ -129,7 +129,7 @@ static __inline__ int tdmv_api_ioctl(sng_fd_t fd, wanpipe_tdm_api_cmd_t *tdm_api
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
static __inline__ int tdmv_api_ioctl(sng_fd_t fd, wanpipe_tdm_api_cmd_t *tdm_api_cmd)
|
static __inline__ int tdmv_api_ioctl(sng_fd_t fd, wanpipe_tdm_api_t *tdm_api_cmd)
|
||||||
{
|
{
|
||||||
return ioctl(fd, SIOC_WANPIPE_TDM_API, tdm_api_cmd);
|
return ioctl(fd, SIOC_WANPIPE_TDM_API, tdm_api_cmd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue