summaryrefslogtreecommitdiff
path: root/src/lib/rina_name.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2016-03-15 15:48:28 +0100
committerDimitri Staessens <[email protected]>2016-03-15 15:48:28 +0100
commit7ca8145790db15d7da3c2f1b260ad3421993b67c (patch)
tree168c30a3090d14c654967d0942b4718cd4a979a9 /src/lib/rina_name.c
parent74dc5818ac8586fcc36915874592c9f4fbb4e6f6 (diff)
parentbd7a8ea8a1adbd6763aea857e72623929b7ad7a4 (diff)
downloadouroboros-7ca8145790db15d7da3c2f1b260ad3421993b67c.tar.gz
ouroboros-7ca8145790db15d7da3c2f1b260ad3421993b67c.zip
Merged in sandervrijders/ouroboros/be-ipcp (pull request #31)
irmd, lib: Create and destroy IPC Processes
Diffstat (limited to 'src/lib/rina_name.c')
-rw-r--r--src/lib/rina_name.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/rina_name.c b/src/lib/rina_name.c
index b9044277..471f6fda 100644
--- a/src/lib/rina_name.c
+++ b/src/lib/rina_name.c
@@ -24,6 +24,7 @@
#include <ouroboros/logs.h>
#include <ouroboros/common.h>
#include <ouroboros/rina_name.h>
+#include <ouroboros/utils.h>
#include <string.h>
#include <math.h>
@@ -220,18 +221,6 @@ bool name_is_equal(const rina_name_t * a,
const rina_name_t * b)
{ return name_cmp(NAME_CMP_ALL, a, b); }
-static int n_digits(unsigned i)
-{
- int n = 1;
-
- while (i > 9) {
- n++;
- i /= 10;
- }
-
- return n;
-}
-
#define DELIMITER "/"
char * name_to_string(const rina_name_t * n)