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
7263af2f
Commit
7263af2f
authored
Jan 26, 2013
by
Danilo Sabato
Committed by
Alessandro Rubini
Feb 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arch-bare-linux: moved struct bare_timeval and NULL to global header
parent
eba67ce4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
bare-linux.h
arch-bare-linux/bare-linux.h
+9
-0
main-loop.c
arch-bare-linux/main-loop.c
+0
-7
No files found.
arch-bare-linux/bare-linux.h
View file @
7263af2f
...
...
@@ -77,3 +77,12 @@ struct bare_ethhdr {
unsigned
char
h_source
[
6
];
uint16_t
h_proto
;
}
__attribute__
((
packed
));
struct
bare_timeval
{
unsigned
long
tv_sec
;
unsigned
long
tv_usec
;
};
#ifndef NULL
#define NULL 0
#endif
arch-bare-linux/main-loop.c
View file @
7263af2f
...
...
@@ -17,13 +17,6 @@ struct bare_fd_set {
#define FD_ZERO(p) memset(p, 0, sizeof(p))
#define FD_SET(bit, p) ((p)->bits[0] |= (1 << (bit)))
struct
bare_timeval
{
unsigned
long
tv_sec
;
unsigned
long
tv_usec
;
};
#define NULL 0
void
bare_main_loop
(
struct
pp_instance
*
ppi
)
{
int
delay_ms
;
...
...
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