projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sprinkling the source with static and attributes.
[tinc]
/
src
/
node.c
diff --git
a/src/node.c
b/src/node.c
index
edad62b
..
350d02d
100644
(file)
--- a/
src/node.c
+++ b/
src/node.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: node.c,v 1.1.2.2
0 2003/07/06 22:11:32
guus Exp $
+ $Id: node.c,v 1.1.2.2
1 2003/07/06 23:16:28
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-40,12
+40,12
@@
avl_tree_t *node_udp_tree; /* Known nodes, sorted by address and port */
node_t *myself;
node_t *myself;
-int node_compare(node_t *a, node_t *b)
+
static
int node_compare(node_t *a, node_t *b)
{
return strcmp(a->name, b->name);
}
{
return strcmp(a->name, b->name);
}
-int node_udp_compare(node_t *a, node_t *b)
+
static
int node_udp_compare(node_t *a, node_t *b)
{
int result;
{
int result;