chiark
/
gitweb
/
~ian
/
secnet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4ccd63
)
cli.c: Make a fixed string const-correct
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2019 01:42:43 +0000
(
01:42
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2019 01:42:43 +0000
(
01:42
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cli.c
patch
|
blob
|
history
diff --git
a/cli.c
b/cli.c
index f3659915368a1d514fbb6c56db88e9b01d0f48cc..7ca7f33ccb1bfd1fa0569017c159d11a5ea4aabd 100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-140,8
+140,8
@@
int main(int argc, char **argv)
{
size_t buf_size = 65536; /* buffer memory defaults to 64 KiB */
int flags = init_flags(*argv);
- char *ifile = "from standard input";
- char *ofile = NULL;
+ c
onst c
har *ifile = "from standard input";
+ c
onst c
har *ofile = NULL;
int opt;
struct option longopts[8] = {
{"decode", no_argument, NULL, 'd'},