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
553d7eb3
Commit
553d7eb3
authored
Mar 04, 2017
by
Dave Taht
Committed by
Juliusz Chroboczek
Mar 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make disambiguation respect its own header
I took the "const" inside disambiguation.c as definitive.
parent
d0540fca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
disambiguation.c
disambiguation.c
+1
-0
disambiguation.h
disambiguation.h
+4
-4
No files found.
disambiguation.c
View file @
553d7eb3
...
@@ -35,6 +35,7 @@ THE SOFTWARE.
...
@@ -35,6 +35,7 @@ THE SOFTWARE.
#include "source.h"
#include "source.h"
#include "neighbour.h"
#include "neighbour.h"
#include "rule.h"
#include "rule.h"
#include "disambiguation.h"
struct
zone
{
struct
zone
{
const
unsigned
char
*
dst_prefix
;
const
unsigned
char
*
dst_prefix
;
...
...
disambiguation.h
View file @
553d7eb3
...
@@ -20,8 +20,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
...
@@ -20,8 +20,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
*/
*/
int
kinstall_route
(
struct
babel_route
*
route
);
int
kinstall_route
(
const
struct
babel_route
*
route
);
int
kuninstall_route
(
struct
babel_route
*
route
);
int
kuninstall_route
(
const
struct
babel_route
*
route
);
int
kswitch_routes
(
struct
babel_route
*
old
,
struct
babel_route
*
new
);
int
kswitch_routes
(
const
struct
babel_route
*
old
,
const
struct
babel_route
*
new
);
int
kchange_route_metric
(
struct
babel_route
*
route
,
int
kchange_route_metric
(
const
struct
babel_route
*
route
,
unsigned
refmetric
,
unsigned
cost
,
unsigned
add
);
unsigned
refmetric
,
unsigned
cost
,
unsigned
add
);
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