aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-11 21:00:32 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-11 21:00:32 +0000
commit13f63dab5a87cb8b95b8d77f11925a7c7429038b (patch)
treea2328cb638be9926b6ca06d1b108f1fbac6b6dc6 /src
parent267f7c5a9a354b8959607c7bc031906c02b61be4 (diff)
downloadgnunet-13f63dab5a87cb8b95b8d77f11925a7c7429038b.tar.gz
gnunet-13f63dab5a87cb8b95b8d77f11925a7c7429038b.zip
-remove useless/broken configure options, and gnunet_directories.h
Diffstat (limited to 'src')
-rw-r--r--src/include/Makefile.am3
-rw-r--r--src/include/gnunet_constants.h5
-rw-r--r--src/include/gnunet_directories.h.in33
-rw-r--r--src/transport/plugin_transport_smtp.c2
-rw-r--r--src/util/disk.c1
-rw-r--r--src/util/program.c2
-rw-r--r--src/util/service.c2
7 files changed, 8 insertions, 40 deletions
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
index 0d13632e9..5b5783146 100644
--- a/src/include/Makefile.am
+++ b/src/include/Makefile.am
@@ -2,9 +2,6 @@ SUBDIRS = .
2 2
3gnunetincludedir = $(includedir)/gnunet 3gnunetincludedir = $(includedir)/gnunet
4 4
5nodist_gnunetinclude_HEADERS = \
6 gnunet_directories.h
7
8if MINGW 5if MINGW
9 WINPROC = winproc.h 6 WINPROC = winproc.h
10endif 7endif
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index 730a3d6d7..b8a049cb9 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -36,6 +36,11 @@ extern "C"
36#endif 36#endif
37 37
38/** 38/**
39 * Last resort choice for configuration file name.
40 */
41#define GNUNET_DEFAULT_USER_CONFIG_FILE "~/.config/gnunet.conf"
42
43/**
39 * Bandwidth (in/out) to assume initially (before either peer has 44 * Bandwidth (in/out) to assume initially (before either peer has
40 * communicated any particular preference). Should be rather low; set 45 * communicated any particular preference). Should be rather low; set
41 * so that at least one maximum-size message can be send roughly once 46 * so that at least one maximum-size message can be send roughly once
diff --git a/src/include/gnunet_directories.h.in b/src/include/gnunet_directories.h.in
deleted file mode 100644
index 3f6898a5e..000000000
--- a/src/include/gnunet_directories.h.in
+++ /dev/null
@@ -1,33 +0,0 @@
1/*
2 This file is part of GNUnet.
3 (C) 2001, 2002, 2003, 2004, 2005, 2006 Christian Grothoff (and other contributing authors)
4
5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published
7 by the Free Software Foundation; either version 2, or (at your
8 option) any later version.
9
10 GNUnet is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with GNUnet; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19*/
20
21/**
22 * @file include/gnunet_directories.h
23 * @brief directories and files in GNUnet (default locations)
24 *
25 * @author Christian Grothoff
26 */
27
28#ifndef GNUNET_DIRECTORIES
29#define GNUNET_DIRECTORIES
30
31#define GNUNET_DEFAULT_USER_CONFIG_FILE "@GN_USER_HOME_DIR@/gnunet.conf"
32
33#endif
diff --git a/src/transport/plugin_transport_smtp.c b/src/transport/plugin_transport_smtp.c
index 828a0b884..740d25d00 100644
--- a/src/transport/plugin_transport_smtp.c
+++ b/src/transport/plugin_transport_smtp.c
@@ -27,7 +27,7 @@
27 27
28#include "platform.h" 28#include "platform.h"
29#include "gnunet_util.h" 29#include "gnunet_util.h"
30#include "gnunet_directories.h" 30#include "gnunet_constants.h"
31#include "gnunet_protocols.h" 31#include "gnunet_protocols.h"
32#include "gnunet_transport.h" 32#include "gnunet_transport.h"
33#include "gnunet_stats_service.h" 33#include "gnunet_stats_service.h"
diff --git a/src/util/disk.c b/src/util/disk.c
index e3743430e..3027e1b30 100644
--- a/src/util/disk.c
+++ b/src/util/disk.c
@@ -26,7 +26,6 @@
26 */ 26 */
27 27
28#include "platform.h" 28#include "platform.h"
29#include "gnunet_directories.h"
30#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
31#include "disk.h" 30#include "disk.h"
32 31
diff --git a/src/util/program.c b/src/util/program.c
index 8b1d7773e..fa22080c1 100644
--- a/src/util/program.c
+++ b/src/util/program.c
@@ -27,7 +27,7 @@
27#include "platform.h" 27#include "platform.h"
28#include "gnunet_util_lib.h" 28#include "gnunet_util_lib.h"
29#include "gnunet_resolver_service.h" 29#include "gnunet_resolver_service.h"
30#include "gnunet_directories.h" 30#include "gnunet_constants.h"
31#include <gcrypt.h> 31#include <gcrypt.h>
32 32
33#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__) 33#define LOG(kind,...) GNUNET_log_from (kind, "util", __VA_ARGS__)
diff --git a/src/util/service.c b/src/util/service.c
index 8f8cca36d..752dd2a74 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -26,7 +26,7 @@
26#include "platform.h" 26#include "platform.h"
27#include "gnunet_util_lib.h" 27#include "gnunet_util_lib.h"
28#include "gnunet_protocols.h" 28#include "gnunet_protocols.h"
29#include "gnunet_directories.h" 29#include "gnunet_constants.h"
30#include "gnunet_resolver_service.h" 30#include "gnunet_resolver_service.h"
31 31
32#if HAVE_MALLINFO 32#if HAVE_MALLINFO