Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
787daa96
Commit
787daa96
authored
Jun 21, 2013
by
Matthieu Boutier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make filenames variables "const".
parent
43312a4f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
babeld.c
babeld.c
+2
-2
babeld.h
babeld.h
+1
-1
No files found.
babeld.c
View file @
787daa96
...
@@ -65,7 +65,7 @@ int default_wired_hello_interval = -1;
...
@@ -65,7 +65,7 @@ int default_wired_hello_interval = -1;
int
resend_delay
=
-
1
;
int
resend_delay
=
-
1
;
int
random_id
=
0
;
int
random_id
=
0
;
int
do_daemonise
=
0
;
int
do_daemonise
=
0
;
char
*
logfile
=
NULL
,
c
onst
c
har
*
logfile
=
NULL
,
*
pidfile
=
"/var/run/babeld.pid"
,
*
pidfile
=
"/var/run/babeld.pid"
,
*
state_file
=
"/var/lib/babel-state"
;
*
state_file
=
"/var/lib/babel-state"
;
...
@@ -100,7 +100,7 @@ main(int argc, char **argv)
...
@@ -100,7 +100,7 @@ main(int argc, char **argv)
struct
sockaddr_in6
sin6
;
struct
sockaddr_in6
sin6
;
int
rc
,
fd
,
i
,
opt
;
int
rc
,
fd
,
i
,
opt
;
time_t
expiry_time
,
source_expiry_time
,
kernel_dump_time
;
time_t
expiry_time
,
source_expiry_time
,
kernel_dump_time
;
char
*
config_file
=
NULL
;
c
onst
c
har
*
config_file
=
NULL
;
void
*
vrc
;
void
*
vrc
;
unsigned
int
seed
;
unsigned
int
seed
;
struct
interface
*
ifp
;
struct
interface
*
ifp
;
...
...
babeld.h
View file @
787daa96
...
@@ -87,7 +87,7 @@ extern int default_wireless_hello_interval, default_wired_hello_interval;
...
@@ -87,7 +87,7 @@ extern int default_wireless_hello_interval, default_wired_hello_interval;
extern
int
resend_delay
;
extern
int
resend_delay
;
extern
int
random_id
;
extern
int
random_id
;
extern
int
do_daemonise
;
extern
int
do_daemonise
;
extern
char
*
logfile
,
*
pidfile
,
*
state_file
;
extern
c
onst
c
har
*
logfile
,
*
pidfile
,
*
state_file
;
extern
int
link_detect
;
extern
int
link_detect
;
extern
int
all_wireless
;
extern
int
all_wireless
;
...
...
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