1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

libsmb: Make a few functions static

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Volker Lendecke 2017-01-24 21:30:40 +01:00 committed by Andreas Schneider
parent 92f37420cc
commit b9606514d0
2 changed files with 2 additions and 4 deletions

View File

@ -850,8 +850,6 @@ WERROR map_werror_from_unix(int error);
bool trustdom_cache_store(const char *name, const char *alt_name,
const struct dom_sid *sid, time_t timeout);
bool trustdom_cache_fetch(const char* name, struct dom_sid* sid);
uint32_t trustdom_cache_fetch_timestamp( void );
bool trustdom_cache_store_timestamp( uint32_t t, time_t timeout );
void trustdom_cache_flush(void);
void update_trustdom_cache( void );

View File

@ -157,7 +157,7 @@ bool trustdom_cache_fetch(const char* name, struct dom_sid* sid)
fetch the timestamp from the last update
*******************************************************************/
uint32_t trustdom_cache_fetch_timestamp( void )
static uint32_t trustdom_cache_fetch_timestamp(void)
{
char *value = NULL;
time_t timeout;
@ -179,7 +179,7 @@ uint32_t trustdom_cache_fetch_timestamp( void )
store the timestamp from the last update
*******************************************************************/
bool trustdom_cache_store_timestamp( uint32_t t, time_t timeout )
static bool trustdom_cache_store_timestamp(uint32_t t, time_t timeout)
{
fstring value;