Signed-off-by: Pete Zaitcev <[email protected]>

---
 server/object.c |    9 +++++----
 server/server.c |    4 ++--
 server/status.c |    2 +-
 server/tdbadm.c |    2 +-
 4 files changed, 9 insertions(+), 8 deletions(-)

commit f21ca8985bc7ba2b6e02fb0e58c79bcb96ab844f
Author: Pete Zaitcev <[email protected]>
Date:   Thu Apr 1 19:17:38 2010 -0600

    Add a bunch of statics.

diff --git a/server/object.c b/server/object.c
index 6d32316..d4d5b8d 100644
--- a/server/object.c
+++ b/server/object.c
@@ -765,8 +765,9 @@ err:
        return -1;
 }
 
-bool object_put_body(struct client *cli, const char *user, const char *bucket,
-               const char *key, long content_len, bool expect_cont)
+static bool object_put_body(struct client *cli, const char *user,
+                           const char *bucket, const char *key,
+                           long content_len, bool expect_cont)
 {
        long avail;
        uint64_t objid;
@@ -1058,8 +1059,8 @@ static void object_get_event(struct open_chunk *ochunk)
        cli_write_run_compl(ochunk->cli);
 }
 
-bool object_get_body(struct client *cli, const char *user, const char *bucket,
-                      const char *key, bool want_body)
+static bool object_get_body(struct client *cli, const char *user,
+                           const char *bucket, const char *key, bool want_body)
 {
        char *md5;
        char timestr[64], modstr[64], *hdr, *tmp;
diff --git a/server/server.c b/server/server.c
index 600c8de..18b3359 100644
--- a/server/server.c
+++ b/server/server.c
@@ -796,8 +796,8 @@ bool cli_err_write(struct client *cli, char *hdr, char 
*content)
        return cli_write_start(cli);
 }
 
-bool cli_resp(struct client *cli, int http_status, const char *content_type,
-             GList *content)
+static bool cli_resp(struct client *cli, int http_status,
+                    const char *content_type, GList *content)
 {
        int rc;
        char *hdr, timestr[50];
diff --git a/server/status.c b/server/status.c
index 2029c09..65bfd1e 100644
--- a/server/status.c
+++ b/server/status.c
@@ -62,7 +62,7 @@ static const char stat_err_fmt1[] = {
 "</html>\r\n"
 };
 
-bool stat_err(struct client *cli, enum errcode code)
+static bool stat_err(struct client *cli, enum errcode code)
 {
        char *hdr = NULL, *content = NULL;
        int err_status;
diff --git a/server/tdbadm.c b/server/tdbadm.c
index 2ab537b..86fa4b3 100644
--- a/server/tdbadm.c
+++ b/server/tdbadm.c
@@ -189,7 +189,7 @@ static const GMarkupParser cfg_parse_ops = {
        .text                   = cfg_elm_text,
 };
 
-void read_config(void)
+static void read_config(void)
 {
        GMarkupParseContext* parser;
        char *text;
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to