summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2021-08-23 18:52:13 +0700
committerPierre Joye <pierre.php@gmail.com>2021-08-23 18:52:13 +0700
commit6be94bf3ea5b6989d2f09dea4adc70646f1b1702 (patch)
treeaf7bbdb4daafdbdd025aec5ad247c4bfb2272bd1 /src
parentecaa0f0a293cd11f8250718c96101b40e7a6b7ac (diff)
downloadlibgd-6be94bf3ea5b6989d2f09dea4adc70646f1b1702.tar.gz
opt* are extern, missed optarg
Diffstat (limited to 'src')
-rw-r--r--src/webpng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpng.c b/src/webpng.c
index 78d6105..7f42a8c 100644
--- a/src/webpng.c
+++ b/src/webpng.c
@@ -73,7 +73,7 @@ main(int argc, char **argv)
int trans_col = KEEP_TRANS;
int report_details = 0;
int print_alpha = 0;
- extern int optind, opterr, optopt;
+ extern int optind, opterr, optopt, optarg;
/* Declare our image pointer */
gdImagePtr im = 0;
/* We'll set 'write' once we know the user's request