Constify.
This commit is contained in:
parent
120798b933
commit
192b2285f5
|
@ -177,7 +177,8 @@ bool dirlist_generate_title(const char *title, char *buffer, int buffer_length)
|
|||
* dirlist_generate_bottom()
|
||||
*/
|
||||
|
||||
bool dirlist_generate_parent_link(char *parent, char *buffer, int buffer_length)
|
||||
bool dirlist_generate_parent_link(const char *parent, char *buffer,
|
||||
int buffer_length)
|
||||
{
|
||||
int error = snprintf(buffer, buffer_length,
|
||||
"<p><a href=\"%s\">%s</a></p>",
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
bool dirlist_generate_top(char *buffer, int buffer_length);
|
||||
bool dirlist_generate_hide_columns(int flags, char *buffer, int buffer_length);
|
||||
bool dirlist_generate_title(const char *title, char *buffer, int buffer_length);
|
||||
bool dirlist_generate_parent_link(char *parent, char *buffer,
|
||||
bool dirlist_generate_parent_link(const char *parent, char *buffer,
|
||||
int buffer_length);
|
||||
bool dirlist_generate_headings(char *buffer, int buffer_length);
|
||||
bool dirlist_generate_row(bool even, bool directory, char *url, char *name,
|
||||
|
|
Loading…
Reference in New Issue