summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-03 20:48:43 +0100
committerGünther Deschner <gd@samba.org>2009-02-04 22:49:51 +0100
commit64e3a90530e4231fc9725652535a4881b149228a (patch)
tree5a3d2dbd6a61b54adf113c6a5f500a77afaf9506
parentc464b5ebc07a27d7ab01629f87fc053dd90882ed (diff)
downloadsamba-64e3a90530e4231fc9725652535a4881b149228a.tar.gz
samba-64e3a90530e4231fc9725652535a4881b149228a.tar.bz2
samba-64e3a90530e4231fc9725652535a4881b149228a.zip
s3-eventlog: make can_write_to_eventlog static.
Guenther
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/rpc_server/srv_eventlog_lib.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 68c4c8b8e3..5cef54f82c 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6257,7 +6257,6 @@ TDB_CONTEXT *elog_init_tdb( char *tdbfilename );
char *elog_tdbname(TALLOC_CTX *ctx, const char *name );
int elog_tdb_size( TDB_CONTEXT * tdb, int *MaxSize, int *Retention );
bool prune_eventlog( TDB_CONTEXT * tdb );
-bool can_write_to_eventlog( TDB_CONTEXT * tdb, int32 needed );
ELOG_TDB *elog_open_tdb( const char *logname, bool force_clear, bool read_only );
int elog_close_tdb( ELOG_TDB *etdb, bool force_close );
int write_eventlog_tdb( TDB_CONTEXT * the_tdb, Eventlog_entry * ee );
diff --git a/source3/rpc_server/srv_eventlog_lib.c b/source3/rpc_server/srv_eventlog_lib.c
index d894ab0f81..c5d2ad737e 100644
--- a/source3/rpc_server/srv_eventlog_lib.c
+++ b/source3/rpc_server/srv_eventlog_lib.c
@@ -270,7 +270,7 @@ bool prune_eventlog( TDB_CONTEXT * tdb )
/********************************************************************
********************************************************************/
-bool can_write_to_eventlog( TDB_CONTEXT * tdb, int32_t needed )
+static bool can_write_to_eventlog( TDB_CONTEXT * tdb, int32_t needed )
{
int calcd_size;
int MaxSize, Retention;