summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org>2016-05-16 21:10:52 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2016-05-16 21:10:52 (GMT)
commit1b89c5a728a99acffff75582f5a4126f5b4d2d4b (patch) (side-by-side diff)
tree615815a6ebbc828d25cd82bb98983821bfc6ea08 /src
parent66a305bb2fda5e7c9d813ee067e4923d9f0a631e (diff)
downloadcflow-1b89c5a728a99acffff75582f5a4126f5b4d2d4b.tar.gz
cflow-1b89c5a728a99acffff75582f5a4126f5b4d2d4b.tar.bz2
Version 1.5release-1_5
* NEWS: Version 1.5 * configure.ac: Likewise. * src/main.c (parse_opt): Bugfix. * src/parser.c: Include ctype.h. * src/symbol.c (hash_symbol_hasher): Fix signature.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/main.c2
-rw-r--r--src/parser.c1
-rw-r--r--src/symbol.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 82f9413..e034439 100644
--- a/src/main.c
+++ b/src/main.c
@@ -540,7 +540,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
case OPT_NO_TREE:
print_as_tree = 0;
level_indent[0] = level_indent[1] = NULL;
- level_end[0] = level_end[0] = NULL;
+ level_end[0] = level_end[1] = NULL;
break;
case 'b':
brief_listing = 1;
diff --git a/src/parser.c b/src/parser.c
index 4be9d4e..d2832a1 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -16,6 +16,7 @@
#include <cflow.h>
#include <parser.h>
+#include <ctype.h>
typedef struct {
char *name;
diff --git a/src/symbol.c b/src/symbol.c
index 6d31801..460f954 100644
--- a/src/symbol.c
+++ b/src/symbol.c
@@ -43,7 +43,7 @@ struct table_entry {
/* Calculate the hash of a string. */
static size_t
-hash_symbol_hasher(void const *data, unsigned n_buckets)
+hash_symbol_hasher(void const *data, size_t n_buckets)
{
struct table_entry const *t = data;
if (!t->sym)

Return to:

Send suggestions and report system problems to the System administrator.