summaryrefslogtreecommitdiff
path: root/clients/clickdot.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-03-11 21:05:57 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-03-12 01:28:50 -0400
commitbcacef19b032d1162120c4a48412bb62b90ad61c (patch)
tree07b3ca56da1946d99e79258d4bab9276ef1e05bd /clients/clickdot.c
parent22ba60e514e074e4bdee1529aa8d22600712f001 (diff)
downloadweston-bcacef19b032d1162120c4a48412bb62b90ad61c.tar.gz
Add an option parser
On one hand, getopt (in particular the -o suboption syntax) sucks on the server side, and on the client side we would like to avoid the glib dependency. We can roll out own option parser and solve both problems and save a few lines of code total.
Diffstat (limited to 'clients/clickdot.c')
-rw-r--r--clients/clickdot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/clickdot.c b/clients/clickdot.c
index cf35faaa..3b7210e3 100644
--- a/clients/clickdot.c
+++ b/clients/clickdot.c
@@ -164,7 +164,7 @@ main(int argc, char *argv[])
struct display *display;
struct clickdot *clickdot;
- display = display_create(&argc, &argv, NULL);
+ display = display_create(argc, argv);
if (display == NULL) {
fprintf(stderr, "failed to create display: %m\n");
return -1;