Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
59b91247
Commit
59b91247
authored
9 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
Fix some warnings: Mismatched prototypes
parent
7bcb86a1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch
+1
-1
1 addition, 1 deletion
arch
drivers/rwbuffer.c
+8
-9
8 additions, 9 deletions
drivers/rwbuffer.c
net/arp/arp_timer.c
+1
-1
1 addition, 1 deletion
net/arp/arp_timer.c
with
10 additions
and
11 deletions
arch
@
0d52e827
Subproject commit
d4d2f2f588ab859dd6b1a73aa41187344f442c20
Subproject commit
0d52e827d460d28409934e0a488266f9e036a46f
This diff is collapsed.
Click to expand it.
drivers/rwbuffer.c
+
8
−
9
View file @
59b91247
...
...
@@ -747,10 +747,10 @@ void rwb_uninitialize(FAR struct rwbuffer_s *rwb)
* Name: rwb_read
****************************************************************************/
in
t
rwb_read
(
FAR
struct
rwbuffer_s
*
rwb
,
off_t
startblock
,
uint32_t
nblocks
,
FAR
uint8_t
*
rdbuffer
)
ssize_
t
rwb_read
(
FAR
struct
rwbuffer_s
*
rwb
,
off_t
startblock
,
size_t
nblocks
,
FAR
uint8_t
*
rdbuffer
)
{
uint32
_t
remaining
;
size
_t
remaining
;
int
ret
=
OK
;
fvdbg
(
"startblock=%ld nblocks=%ld rdbuffer=%p
\n
"
,
...
...
@@ -822,7 +822,7 @@ int rwb_read(FAR struct rwbuffer_s *rwb, off_t startblock, uint32_t nblocks,
if
(
ret
<
0
)
{
fdbg
(
"ERROR: Failed to fill the read-ahead buffer: %d
\n
"
,
ret
);
return
ret
;
return
(
ssize_t
)
ret
;
}
}
}
...
...
@@ -846,15 +846,15 @@ int rwb_read(FAR struct rwbuffer_s *rwb, off_t startblock, uint32_t nblocks,
}
#endif
return
ret
;
return
(
ssize_t
)
ret
;
}
/****************************************************************************
* Name: rwb_write
****************************************************************************/
in
t
rwb_write
(
FAR
struct
rwbuffer_s
*
rwb
,
off_t
startblock
,
size_t
nblocks
,
FAR
const
uint8_t
*
wrbuffer
)
ssize_
t
rwb_write
(
FAR
struct
rwbuffer_s
*
rwb
,
off_t
startblock
,
size_t
nblocks
,
FAR
const
uint8_t
*
wrbuffer
)
{
int
ret
=
OK
;
...
...
@@ -917,10 +917,9 @@ int rwb_write(FAR struct rwbuffer_s *rwb, off_t startblock,
ret
=
rwb
->
wrflush
(
rwb
->
dev
,
wrbuffer
,
startblock
,
nblocks
);
}
#endif
return
ret
;
return
(
ssize_t
)
ret
;
}
/****************************************************************************
...
...
This diff is collapsed.
Click to expand it.
net/arp/arp_timer.c
+
1
−
1
View file @
59b91247
...
...
@@ -88,7 +88,7 @@ static WDOG_ID g_arptimer; /* ARP timer */
*
****************************************************************************/
static
void
arptimer_poll
(
int
argc
,
uint32
_t
arg
,
...)
static
void
arptimer_poll
(
int
argc
,
wdparm
_t
arg
,
...)
{
/* Call the ARP timer function every 10 seconds. */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment