projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sprinkle around a lot of const and some C99 initialisers.
[tinc]
/
src
/
protocol_subnet.c
diff --git
a/src/protocol_subnet.c
b/src/protocol_subnet.c
index
48b5efe
..
bb2f2de
100644
(file)
--- a/
src/protocol_subnet.c
+++ b/
src/protocol_subnet.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol_subnet.c,v 1.1.4.1
4 2003/07/22 20:55:20
guus Exp $
+ $Id: protocol_subnet.c,v 1.1.4.1
5 2003/07/24 12:08:16
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-33,7
+33,7
@@
#include "utils.h"
#include "xalloc.h"
#include "utils.h"
#include "xalloc.h"
-bool send_add_subnet(connection_t *c, subnet_t *subnet)
+bool send_add_subnet(connection_t *c,
const
subnet_t *subnet)
{
bool x;
char *netstr;
{
bool x;
char *netstr;
@@
-122,7
+122,7
@@
bool add_subnet_h(connection_t *c)
return true;
}
return true;
}
-bool send_del_subnet(connection_t *c, subnet_t *s)
+bool send_del_subnet(connection_t *c,
const
subnet_t *s)
{
bool x;
char *netstr;
{
bool x;
char *netstr;