mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Modified the socket functions which now take parameters to constant
pointers. git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14740 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: crtbegin.c,v 1.1.1.1 2004-07-26 16:30:22 obarthel Exp $
|
||||
* $Id: crtbegin.c,v 1.2 2004-09-29 14:31:56 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -48,7 +48,7 @@ _do_ctors(void)
|
||||
static void
|
||||
_do_dtors(void)
|
||||
{
|
||||
ULONG i = (ULONG)__DTOR_LIST__[0];
|
||||
unsigned long i = (unsigned long)__DTOR_LIST__[0];
|
||||
void (**pFuncPtr)(void);
|
||||
|
||||
if (i == ~0UL)
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket_send.c,v 1.1.1.1 2004-07-26 16:31:19 obarthel Exp $
|
||||
* $Id: socket_send.c,v 1.2 2004-09-29 14:31:57 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -48,7 +48,7 @@
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
send(int sockfd,void *buff,size_t nbytes,int flags)
|
||||
send(int sockfd,const void *buff,size_t nbytes,int flags)
|
||||
{
|
||||
struct fd * fd;
|
||||
int result = -1;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket_sendto.c,v 1.1.1.1 2004-07-26 16:31:20 obarthel Exp $
|
||||
* $Id: socket_sendto.c,v 1.2 2004-09-29 14:31:57 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -48,7 +48,7 @@
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
sendto(int sockfd,void *buff,int len,int flags,struct sockaddr *to,int tolen)
|
||||
sendto(int sockfd,const void *buff,int len,int flags,struct sockaddr *to,int tolen)
|
||||
{
|
||||
struct fd * fd;
|
||||
int result = -1;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket_setsockopt.c,v 1.1.1.1 2004-07-26 16:31:20 obarthel Exp $
|
||||
* $Id: socket_setsockopt.c,v 1.2 2004-09-29 14:31:57 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -48,7 +48,7 @@
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
setsockopt(int sockfd,int level,int optname,void *optval,int optlen)
|
||||
setsockopt(int sockfd,int level,int optname,const void *optval,int optlen)
|
||||
{
|
||||
struct fd * fd;
|
||||
int result = -1;
|
||||
|
||||
Reference in New Issue
Block a user