convert each "size_t iov_len" declaration to "unsigned int iov_len"

Via this command:
git grep -l -E 'size_t[[:blank:]]+iov_len' \
  | xargs perl -pi -e 's/((?:^|,)\s*)size_t\s+(iov_len)/${1}unsigned int $2/'

Affected files and (functions/macros):
* exec/totempg.c (totempg_groups_mcast_groups)
(totempg_groups_send_ok_groups):
* include/corosync/evs.h (evs_callbacks_t):
* include/corosync/totem/totempg.h (TOTEMPG_SAFE):
* lib/evs.c (evs_mcast_joined, evs_mcast_groups):
* man/cpg_mcast_joined.3:
* man/evs_mcast_groups.3:
* man/evs_mcast_joined.3:

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2032 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Jim Meyering 2009-04-08 07:56:54 +00:00
parent 36eefbadef
commit 29eb77a9fb
7 changed files with 11 additions and 11 deletions

View File

@ -1199,7 +1199,7 @@ int totempg_groups_mcast_groups (
const struct totempg_group *groups,
size_t groups_cnt,
const struct iovec *iovec,
size_t iov_len)
unsigned int iov_len)
{
struct totempg_group_instance *instance;
unsigned short group_len[MAX_GROUPS_PER_MSG + 1];
@ -1247,7 +1247,7 @@ int totempg_groups_send_ok_groups (
const struct totempg_group *groups,
size_t groups_cnt,
const struct iovec *iovec,
size_t iov_len)
unsigned int iov_len)
{
struct totempg_group_instance *instance;
unsigned int size = 0;

View File

@ -142,7 +142,7 @@ cs_error_t evs_mcast_joined (
evs_handle_t handle,
evs_guarantee_t guarantee,
const struct iovec *iovec,
size_t iov_len);
unsigned int iov_len);
/*
* Multicast to specified groups.
@ -155,7 +155,7 @@ cs_error_t evs_mcast_groups (
const struct evs_group *groups,
size_t group_cnt,
const struct iovec *iovec,
size_t iov_len);
unsigned int iov_len);
/*
* Get membership information from evs

View File

@ -124,14 +124,14 @@ extern int totempg_groups_mcast_groups (
const struct totempg_group *groups,
size_t groups_cnt,
const struct iovec *iovec,
size_t iov_len);
unsigned int iov_len);
extern int totempg_groups_send_ok_groups (
hdb_handle_t handle,
const struct totempg_group *groups,
size_t groups_cnt,
const struct iovec *iovec,
size_t iov_len);
unsigned int iov_len);
extern int totempg_ifaces_get (
unsigned int nodeid,

View File

@ -413,7 +413,7 @@ evs_error_t evs_mcast_joined (
evs_handle_t handle,
evs_guarantee_t guarantee,
const struct iovec *iovec,
size_t iov_len)
unsigned int iov_len)
{
int i;
evs_error_t error;
@ -470,7 +470,7 @@ evs_error_t evs_mcast_groups (
const struct evs_group *groups,
size_t group_entries,
const struct iovec *iovec,
size_t iov_len)
unsigned int iov_len)
{
int i;
evs_error_t error;

View File

@ -102,7 +102,7 @@ is a standard socket structure described by:
struct iovec
{
void *iov_base; /* Pointer to data. */
size_t iov_len; /* Length of data. */
unsigned int iov_len; /* Length of data. */
};
.ta
.fi

View File

@ -130,7 +130,7 @@ is a standard socket structure described by:
struct iovec
{
void *iov_base; /* Pointer to data. */
size_t iov_len; /* Length of data. */
unsigned int iov_len; /* Length of data. */
};
.ta
.fi

View File

@ -103,7 +103,7 @@ is a standard socket structure described by:
struct iovec
{
void *iov_base; /* Pointer to data. */
size_t iov_len; /* Length of data. */
unsigned int iov_len; /* Length of data. */
};
.ta
.fi