summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2023-02-09 17:36:46 +0100
committerJeremy Allison <jra@samba.org>2023-03-09 18:10:33 +0000
commite5d1527f74a90e98019fccd839566467bf8dbb7e (patch)
treea3cd5f4995d343020e6577af21e9d2020573c268 /lib
parent0195f8bc9a91d85c2b76edb1e145a80ba0fe5543 (diff)
downloadsamba-e5d1527f74a90e98019fccd839566467bf8dbb7e.tar.gz
lib: Move the dump_data_pw() prototype to the other dump_data_* ones
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/util/samba_util.h8
-rw-r--r--lib/util/util.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h
index f7e13bc8884..95470a066a3 100644
--- a/lib/util/samba_util.h
+++ b/lib/util/samba_util.h
@@ -544,14 +544,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
*/
diff --git a/lib/util/util.h b/lib/util/util.h
index 072f0486234..278fd6b2cfd 100644
--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -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