summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-14 22:49:03 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-03-14 22:49:03 +0000
commitd2c9ffac237a7d48db06fa52585dfe8565b61be8 (patch)
treeecaad1635f2808f8d7ce9a9f495228aa6ab2ab12 /src
parent5faa0879ec4a5f9c2dfb07546826a4f80d98bbe5 (diff)
downloadtinyproxy-d2c9ffac237a7d48db06fa52585dfe8565b61be8.tar.gz
tinyproxy-d2c9ffac237a7d48db06fa52585dfe8565b61be8.zip
Made get_html_file() and lookup_variable() static functions since they
are only used with this file.
Diffstat (limited to 'src')
-rw-r--r--src/htmlerror.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htmlerror.c b/src/htmlerror.c
index 1fdea75..f069be2 100644
--- a/src/htmlerror.c
+++ b/src/htmlerror.c
@@ -1,4 +1,4 @@
-/* $Id: htmlerror.c,v 1.2 2003-03-14 22:45:59 rjkaes Exp $
+/* $Id: htmlerror.c,v 1.3 2003-03-14 22:49:03 rjkaes Exp $
*
* This file contains source code for the handling and display of
* HTML error pages with variable substitution.
@@ -60,7 +60,7 @@ add_new_errorpage(char *filepath, unsigned int errornum) {
/*
* Get the file appropriate for a given error.
*/
-char*
+static char*
get_html_file(int errornum) {
int i;
@@ -77,7 +77,7 @@ get_html_file(int errornum) {
/*
* Look up the value for a variable.
*/
-char*
+static char*
lookup_variable(struct conn_s *connptr, char *varname) {
int i;