Make form_url_encode static.

This commit is contained in:
Michael Drake 2012-10-11 20:05:36 +01:00
parent 6f7c6de0c9
commit 0c8b03474e
2 changed files with 1 additions and 3 deletions

View File

@ -678,7 +678,7 @@ char *form_textarea_value(struct form_control *textarea)
* \return URL-encoded form, or 0 on memory exhaustion
*/
char *form_url_encode(struct form *form,
static char *form_url_encode(struct form *form,
struct fetch_multipart_data *control,
bool query_string)
{

View File

@ -151,8 +151,6 @@ bool form_add_option(struct form_control *control, char *value, char *text,
bool form_successful_controls(struct form *form,
struct form_control *submit_button,
struct fetch_multipart_data **successful_controls);
char *form_url_encode(struct form *form,
struct fetch_multipart_data *control, bool query_string);
bool form_open_select_menu(void *client_data,
struct form_control *control,