mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
lib: make Curl_easyopts const
Also, make the optiontable rule work in an out-of-tree build. Closes #16950
This commit is contained in:
parent
9f4f61ddcb
commit
9ba597bed7
5 changed files with 6 additions and 6 deletions
|
|
@ -28,7 +28,7 @@
|
|||
#include "easyoptions.h"
|
||||
|
||||
/* all easy setopt options listed in alphabetical order */
|
||||
struct curl_easyoption Curl_easyopts[] = {
|
||||
const struct curl_easyoption Curl_easyopts[] = {
|
||||
{"ABSTRACT_UNIX_SOCKET", CURLOPT_ABSTRACT_UNIX_SOCKET, CURLOT_STRING, 0},
|
||||
{"ACCEPTTIMEOUT_MS", CURLOPT_ACCEPTTIMEOUT_MS, CURLOT_LONG, 0},
|
||||
{"ACCEPT_ENCODING", CURLOPT_ACCEPT_ENCODING, CURLOT_STRING, 0},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue