summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-17 15:36:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-17 15:51:54 +0200
commita15715c34309416e76ebd2007a51ff6c42f28817 (patch)
tree8794c25b33abbcd8b050fe71dbd6576949741f0e /shell
parent6fcc7efad066d6f3804196f3d3fbddd6a0a485cb (diff)
-Wstrict-prototypes
...no reason to not have it enabled for URE C include files and what little real C code is still left. (But note that Clang ignores that warning.) Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
Diffstat (limited to 'shell')
-rw-r--r--shell/source/unix/misc/uri-encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/unix/misc/uri-encode.c b/shell/source/unix/misc/uri-encode.c
index aba7f6232c12..f7bca6ff6a2e 100644
--- a/shell/source/unix/misc/uri-encode.c
+++ b/shell/source/unix/misc/uri-encode.c
@@ -23,7 +23,7 @@
#include <stdlib.h>
#include <string.h>
-int main() {
+int main(void) {
for (;;) {
int c;
errno = 0;