Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
d2ff1ead
Commit
d2ff1ead
authored
Feb 06, 2007
by
Michael Jerris
Browse files
windows warnings fixes
darcs-hash:20070206215153-16063-fa600da7ff2d41a3e81831e593c2efee31bcff3f.gz
parent
85f5d719
Changes
4
Hide whitespace changes
Inline
Side-by-side
libsofia-sip-ua/nta/sofia-sip/nta_tag.h
View file @
d2ff1ead
...
...
@@ -464,43 +464,43 @@ NTA_DLL extern tag_typedef_t ntatag_rseq_ref;
/* Tags for statistics. */
NTA_DLL
extern
tag_typedef_t
ntatag_s_irq_hash
;
#define NTATAG_S_IRQ_HASH(x) ntatag_s_irq_hash, tag_u
int
_v(x)
#define NTATAG_S_IRQ_HASH(x) ntatag_s_irq_hash, tag_u
size
_v(x)
NTA_DLL
extern
tag_typedef_t
ntatag_s_irq_hash_ref
;
#define NTATAG_S_IRQ_HASH_REF(x) ntatag_s_irq_hash_ref, tag_u
int
_vr(&(x))
#define NTATAG_S_IRQ_HASH_REF(x) ntatag_s_irq_hash_ref, tag_u
size
_vr(&(x))
NTA_DLL
extern
tag_typedef_t
ntatag_s_orq_hash
;
#define NTATAG_S_ORQ_HASH(x) ntatag_s_orq_hash, tag_u
int
_v(x)
#define NTATAG_S_ORQ_HASH(x) ntatag_s_orq_hash, tag_u
size
_v(x)
NTA_DLL
extern
tag_typedef_t
ntatag_s_orq_hash_ref
;
#define NTATAG_S_ORQ_HASH_REF(x) ntatag_s_orq_hash_ref, tag_u
int
_vr(&(x))
#define NTATAG_S_ORQ_HASH_REF(x) ntatag_s_orq_hash_ref, tag_u
size
_vr(&(x))
NTA_DLL
extern
tag_typedef_t
ntatag_s_leg_hash
;
#define NTATAG_S_LEG_HASH(x) ntatag_s_leg_hash, tag_u
int
_v(x)
#define NTATAG_S_LEG_HASH(x) ntatag_s_leg_hash, tag_u
size
_v(x)
NTA_DLL
extern
tag_typedef_t
ntatag_s_leg_hash_ref
;
#define NTATAG_S_LEG_HASH_REF(x) ntatag_s_leg_hash_ref, tag_u
int
_vr(&(x))
#define NTATAG_S_LEG_HASH_REF(x) ntatag_s_leg_hash_ref, tag_u
size
_vr(&(x))
NTA_DLL
extern
tag_typedef_t
ntatag_s_irq_hash_used
;
#define NTATAG_S_IRQ_HASH_USED(x) ntatag_s_irq_hash_used, tag_u
int
_v(x)
#define NTATAG_S_IRQ_HASH_USED(x) ntatag_s_irq_hash_used, tag_u
size
_v(x)
NTA_DLL
extern
tag_typedef_t
ntatag_s_irq_hash_used_ref
;
#define NTATAG_S_IRQ_HASH_USED_REF(x) \
ntatag_s_irq_hash_used_ref, tag_u
int
_vr(&(x))
ntatag_s_irq_hash_used_ref, tag_u
size
_vr(&(x))
NTA_DLL
extern
tag_typedef_t
ntatag_s_orq_hash_used
;
#define NTATAG_S_ORQ_HASH_USED(x) ntatag_s_orq_hash_used, tag_u
int
_v(x)
#define NTATAG_S_ORQ_HASH_USED(x) ntatag_s_orq_hash_used, tag_u
size
_v(x)
NTA_DLL
extern
tag_typedef_t
ntatag_s_orq_hash_used_ref
;
#define NTATAG_S_ORQ_HASH_USED_REF(x) \
ntatag_s_orq_hash_used_ref, tag_u
int
_vr(&(x))
ntatag_s_orq_hash_used_ref, tag_u
size
_vr(&(x))
NTA_DLL
extern
tag_typedef_t
ntatag_s_leg_hash_used
;
#define NTATAG_S_LEG_HASH_USED(x) ntatag_s_leg_hash_used, tag_u
int
_v(x)
#define NTATAG_S_LEG_HASH_USED(x) ntatag_s_leg_hash_used, tag_u
size
_v(x)
NTA_DLL
extern
tag_typedef_t
ntatag_s_leg_hash_used_ref
;
#define NTATAG_S_LEG_HASH_USED_REF(x) \
ntatag_s_leg_hash_used_ref, tag_u
int
_vr(&(x))
ntatag_s_leg_hash_used_ref, tag_u
size
_vr(&(x))
NTA_DLL
extern
tag_typedef_t
ntatag_s_recv_msg
;
#define NTATAG_S_RECV_MSG(x) ntatag_s_recv_msg, tag_uint_v(x)
...
...
libsofia-sip-ua/nta/test_nta.c
View file @
d2ff1ead
...
...
@@ -654,7 +654,7 @@ int readfile(FILE *f, void **contents)
*
contents
=
buffer
;
return
len
;
return
(
int
)
len
;
}
#if HAVE_DIRENT_H
...
...
libsofia-sip-ua/su/su_win32_port.c
View file @
d2ff1ead
...
...
@@ -583,7 +583,6 @@ int su_poll_port_wait_events(su_port_t *self, su_duration_t tout)
su_wait_t
*
waits
=
self
->
sup_waits
;
int
n
=
self
->
sup_n_waits
;
su_root_t
*
root
;
unsigned
version
=
self
->
sup_registers
;
i
=
su_wait
(
waits
,
(
unsigned
)
n
,
tout
);
...
...
@@ -591,6 +590,8 @@ int su_poll_port_wait_events(su_port_t *self, su_duration_t tout)
#if 0
/* poll() can return events for multiple wait objects */
if (self->sup_multishot) {
unsigned version = self->sup_registers;
for (; i < n; i++) {
if (waits[i].revents) {
root = self->sup_wait_roots[i];
...
...
libsofia-sip-ua/su/torture_su_alloc.c
View file @
d2ff1ead
...
...
@@ -59,6 +59,12 @@ void exdestructor(void *arg)
(
*
ex
->
p
)
++
;
}
void
test_destructor
(
void
*
a
)
{
su_home_t
*
h
=
a
;
h
->
suh_size
=
13
;
}
/** Test basic memory home operations */
static
int
test_alloc
(
void
)
{
...
...
@@ -163,7 +169,6 @@ static int test_alloc(void)
{
su_home_t
h1
[
1
];
void
test_destructor
(
void
*
);
memset
(
h1
,
0
,
sizeof
h1
);
...
...
@@ -184,12 +189,6 @@ static int test_alloc(void)
END
();
}
void
test_destructor
(
void
*
a
)
{
su_home_t
*
h
=
a
;
h
->
suh_size
=
13
;
}
static
int
test_strdupcat
(
void
)
{
su_home_t
home
[
1
]
=
{
SU_HOME_INIT
(
home
)
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment