Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
e5d7101f
Commit
e5d7101f
authored
Jan 06, 2012
by
Alessandro Rubini
Committed by
Aurelio Colosimo
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pptp/lib.h and posix-io.c: minor fix: missing const in prototype
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
6732723d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
posix-io.c
arch-gnu-linux/posix-io.c
+1
-1
lib.h
include/pptp/lib.h
+1
-1
No files found.
arch-gnu-linux/posix-io.c
View file @
e5d7101f
...
...
@@ -22,7 +22,7 @@ void *pp_memcpy(void *d, const void *s, int count)
return
memcpy
(
d
,
s
,
count
);
}
int
pp_memcmp
(
void
*
s1
,
const
void
*
s2
,
int
count
)
int
pp_memcmp
(
const
void
*
s1
,
const
void
*
s2
,
int
count
)
{
return
memcmp
(
s1
,
s2
,
count
);
}
...
...
include/pptp/lib.h
View file @
e5d7101f
...
...
@@ -8,7 +8,7 @@
extern
void
pp_puts
(
const
char
*
s
);
extern
int
pp_strnlen
(
const
char
*
s
,
int
maxlen
);
extern
void
*
pp_memcpy
(
void
*
d
,
const
void
*
s
,
int
count
);
extern
int
pp_memcmp
(
void
*
s1
,
const
void
*
s2
,
int
count
);
extern
int
pp_memcmp
(
const
void
*
s1
,
const
void
*
s2
,
int
count
);
extern
void
*
pp_memset
(
void
*
s
,
int
c
,
int
count
);
#endif
/* __PTP_DEP_H__ */
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