mirror of
https://git.zx2c4.com/cgit
synced 2025-06-27 03:59:01 +02:00
Mark several functions/variables static
Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
This commit is contained in:
parent
d5a43b429a
commit
bafab423f2
14 changed files with 64 additions and 60 deletions
6
html.c
6
html.c
|
@ -39,7 +39,7 @@ static const char* url_escape_table[256] = {
|
|||
"%fe", "%ff"
|
||||
};
|
||||
|
||||
int htmlfd = STDOUT_FILENO;
|
||||
static int htmlfd = STDOUT_FILENO;
|
||||
|
||||
char *fmt(const char *format, ...)
|
||||
{
|
||||
|
@ -266,7 +266,7 @@ int html_include(const char *filename)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int hextoint(char c)
|
||||
static int hextoint(char c)
|
||||
{
|
||||
if (c >= 'a' && c <= 'f')
|
||||
return 10 + c - 'a';
|
||||
|
@ -278,7 +278,7 @@ int hextoint(char c)
|
|||
return -1;
|
||||
}
|
||||
|
||||
char *convert_query_hexchar(char *txt)
|
||||
static char *convert_query_hexchar(char *txt)
|
||||
{
|
||||
int d1, d2, n;
|
||||
n = strlen(txt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue