-atoo
authorNils Durner <durner@gnunet.org>
Tue, 16 Jun 2009 22:09:33 +0000 (22:09 +0000)
committerNils Durner <durner@gnunet.org>
Tue, 16 Jun 2009 22:09:33 +0000 (22:09 +0000)
src/util/disk.c

index 2722dda71df81465b96fa937a3e321fa57d1a332..011bd8a8db7cc1046467457694c55fabd96e5c4b 100644 (file)
@@ -488,22 +488,6 @@ GNUNET_DISK_fn_read (const char * const fn, void *result, int len)
 }
 
 
-/**
- * Convert string to value ('755' for chmod-call)
- */
-static int
-atoo (const char *s)
-{
-  int n = 0;
-
-  while (('0' <= *s) && (*s < '8'))
-    {
-      n <<= 3;
-      n += *s++ - '0';
-    }
-  return n;
-}
-
 /**
  * Write a buffer to a file.
  * @param h handle to open file