summaryrefslogtreecommitdiff
path: root/examples/api/demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/demo.c')
-rw-r--r--examples/api/demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/api/demo.c b/examples/api/demo.c
index df9c4bd..65e7491 100644
--- a/examples/api/demo.c
+++ b/examples/api/demo.c
@@ -41,7 +41,7 @@ void test_dump_sig(struct api_signature *);
static char buf[BUF_SZ];
-int main(int argc, char *argv[])
+int main(int argc, char * const argv[])
{
int rv = 0, h, i, j, devs_no;
struct api_signature *sig = NULL;