]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib: Move the dump_data_pw() prototype to the other dump_data_* ones
authorVolker Lendecke <vl@samba.org>
Thu, 9 Feb 2023 16:36:46 +0000 (17:36 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 9 Mar 2023 18:10:33 +0000 (18:10 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/samba_util.h
lib/util/util.h

index f7e13bc88848030a6b6202b8da35de195c497ac5..95470a066a3321ad3011fd22b2d526c03de4f72a 100644 (file)
@@ -543,14 +543,6 @@ char *smb_xstrndup(const char *s, size_t n);
 **/
 _PUBLIC_ void *smb_memdup(const void *p, size_t size);
 
-/**
- * Write a password to the log file.
- *
- * @note Only actually does something if DEBUG_PASSWORD was defined during
- * compile-time.
- */
-_PUBLIC_ void dump_data_pw(const char *msg, const uint8_t * data, size_t len);
-
 /**
  * see if a range of memory is all zero. A NULL pointer is considered
  * to be all zero
index 072f04862348c95495d1ba4c2ed9f5f059af234b..278fd6b2cfd9df3ea59e95c708e5956d86b9f7d4 100644 (file)
@@ -79,4 +79,12 @@ _PUBLIC_ void dump_data_file_diff(FILE *f,
                                  const uint8_t *buf1, size_t len1,
                                  const uint8_t *buf2, size_t len2);
 
+/**
+ * Write a password to the log file.
+ *
+ * @note Only actually does something if DEBUG_PASSWORD was defined during
+ * compile-time.
+ */
+_PUBLIC_ void dump_data_pw(const char *msg, const uint8_t * data, size_t len);
+
 #endif