mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[html] const in get_num
This commit is contained in:
parent
d7d3268b5c
commit
1285e6dd38
@ -250,7 +250,7 @@ parse_error:
|
||||
* It will return a positive integer value on success,
|
||||
* or -1 on error. */
|
||||
int
|
||||
get_num(char *a, char *name, int cp)
|
||||
get_num(char *a, const char *name, int cp)
|
||||
{
|
||||
char *al = get_attr_val(a, name, cp);
|
||||
int result = -1;
|
||||
|
@ -64,7 +64,7 @@ typedef void (element_handler_T)(struct html_context *, char *attr,
|
||||
|
||||
int parse_element(char *, char *, char **, int *, char **, char **);
|
||||
|
||||
int get_num(char *, char *, int);
|
||||
int get_num(char *, const char *, int);
|
||||
int get_num2(char *);
|
||||
|
||||
int get_width(char *, char *, int, struct html_context *);
|
||||
|
Loading…
Reference in New Issue
Block a user