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
Firmware-Developer
ffdd-bmxd
Commits
d872e0d6
Verified
Commit
d872e0d6
authored
Dec 14, 2019
by
Sven enniK
Browse files
update v0.5
parent
a1b9f1ce
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
d872e0d6
...
...
@@ -88,7 +88,6 @@ LOG_BRANCH= trunk/batman-experimental
SRC_FILES
=
"
\(\.
c
\)\|\(\.
h
\)\|\(
Makefile
\)\|\(
INSTALL
\)\|\(
LIESMICH
\)\|\(
README
\)\|\(
THANKS
\)\|\(
./posix
\)\|\(
./linux
\)\|\(
./man
\)\|\(
./doc
\)
"
#SRC_C= batman.c originator.c hna.c schedule.c plugin.c list-batman.c allocate.c avl.c profile.c control.c metrics.c $(OS_C) posix/posix.c posix/tunnel.c linux/route.c
SRC_C
=
batman.c originator.c hna.c schedule.c plugin.c list-batman.c allocate.c avl.c profile.c control.c metrics.c
$(OS_C)
SRC_H
=
batman.h originator.h hna.h schedule.h plugin.h list-batman.h allocate.h avl.h profile.h control.h metrics.h vis-types.h os.h
OBJS
=
$(SRC_C:.c=.o)
...
...
os.h
View file @
d872e0d6
...
...
@@ -21,7 +21,7 @@
#define _BATMAN_OS_H
#
define timercpy(d, a) do { (d)->tv_sec = (a)->tv_sec; (d)->tv_usec = (a)->tv_usec; } while(0)
#define timercpy(d, a) do { (d)->tv_sec = (a)->tv_sec; (d)->tv_usec = (a)->tv_usec; } while(0)
/* posix.c */
...
...
@@ -52,7 +52,7 @@ void cleanup_all( int status );
#ifdef NOPARANOIA
#define paranoia( ... )
#else
#define paranoia( code , problem )
;
do { if ( problem ) { cleanup_all( code ); } }while(0)
#define paranoia( code , problem ) do { if ( problem ) { cleanup_all( code ); } }
while(0)
#endif
...
...
posix/posix.c
View file @
d872e0d6
...
...
@@ -40,7 +40,7 @@
#include "schedule.h"
//#include "avl.h"
#
define timercpy(d, a) do { (d)->tv_sec = (a)->tv_sec; (d)->tv_usec = (a)->tv_usec; } while(0)
#define timercpy(d, a) do { (d)->tv_sec = (a)->tv_sec; (d)->tv_usec = (a)->tv_usec; } while(0)
static
int8_t
stop
=
0
;
...
...
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