aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/config2help.c4
-rw-r--r--scripts/mkflags.c2
-rw-r--r--scripts/mktags.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/config2help.c b/scripts/config2help.c
index be53547d..edb1caea 100644
--- a/scripts/config2help.c
+++ b/scripts/config2help.c
@@ -19,7 +19,7 @@
#include <poll.h>
#include <sys/socket.h>
-/****************** functions copied from lib/*.c ********************/
+//****************** functions copied from lib/*.c ********************
struct double_list {
struct double_list *next, *prev;
@@ -107,7 +107,7 @@ struct double_list *dlist_add(struct double_list **list, char *data)
return new;
}
-/****************** end copies of lib/*.c *************/
+//****************** end copies of lib/*.c *************
// Parse config files into data structures.
diff --git a/scripts/mkflags.c b/scripts/mkflags.c
index b28ae1e1..93294884 100644
--- a/scripts/mkflags.c
+++ b/scripts/mkflags.c
@@ -64,7 +64,7 @@ char *mark_gaps(char *flags, char *all)
if (bare) bare = chrtype(c);
if (*flags == c) {
*(new++) = c;
- *flags++;
+ flags++;
continue;
}
diff --git a/scripts/mktags.c b/scripts/mktags.c
index 9c23cf17..05494b2a 100644
--- a/scripts/mktags.c
+++ b/scripts/mktags.c
@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
char *line = 0, *s;
ssize_t len;
- len = getline(&line, &len, stdin);
+ len = getline(&line, (void *)&len, stdin);
if (len<0) break;
while (len && isspace(line[len-1])) line[--len]=0;