aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/disk.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/util/disk.c b/src/util/disk.c
index 2722dda71..011bd8a8d 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -489,22 +489,6 @@ GNUNET_DISK_fn_read (const char * const fn, void *result, int len)
489 489
490 490
491/** 491/**
492 * Convert string to value ('755' for chmod-call)
493 */
494static int
495atoo (const char *s)
496{
497 int n = 0;
498
499 while (('0' <= *s) && (*s < '8'))
500 {
501 n <<= 3;
502 n += *s++ - '0';
503 }
504 return n;
505}
506
507/**
508 * Write a buffer to a file. 492 * Write a buffer to a file.
509 * @param h handle to open file 493 * @param h handle to open file
510 * @param buffer the data to write 494 * @param buffer the data to write