]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Make a few functions static
authorVolker Lendecke <vl@samba.org>
Tue, 24 Jan 2017 20:30:40 +0000 (21:30 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 14 Mar 2017 14:22:12 +0000 (15:22 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/include/proto.h
source3/libsmb/trustdom_cache.c

index acd01274e4016a1ca2428224125b6d5ad8a3f2c7..d0951262071cd31f9400fede7da8cbee10771366 100644 (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 );
 
index 587e1d22db3ab0c833ac025d32f2754df3265c2d..82f0add076a1da310d6b186de003211e5bcbb1d9 100644 (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;