Module Name: src
Committed By: christos
Date: Fri Jan 19 18:39:59 UTC 2024
Modified Files:
src/sys/sys: ptree.h sha2.h sysctl.h
Log Message:
Add missing decls.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/ptree.h
cvs rdiff -u -r1.3 -r1.4 src/sys/sys/sha2.h
cvs rdiff -u -r1.237 -r1.238 src/sys/sys/sysctl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/ptree.h
diff -u src/sys/sys/ptree.h:1.8 src/sys/sys/ptree.h:1.9
--- src/sys/sys/ptree.h:1.8 Sat Oct 6 18:15:09 2012
+++ src/sys/sys/ptree.h Fri Jan 19 13:39:59 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: ptree.h,v 1.8 2012/10/06 22:15:09 matt Exp $ */
+/* $NetBSD: ptree.h,v 1.9 2024/01/19 18:39:59 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -190,5 +190,6 @@ void * ptree_find_filtered_node(pt_tree_
ptree_find_filtered_node((pt), (key), NULL, NULL)
void ptree_remove_node(pt_tree_t *, void *);
void * ptree_iterate(pt_tree_t *, const void *, pt_direction_t);
+bool ptree_check(const pt_tree_t *pt);
#endif /* _SYS_PTREE_H_ */
Index: src/sys/sys/sha2.h
diff -u src/sys/sys/sha2.h:1.3 src/sys/sys/sha2.h:1.4
--- src/sys/sys/sha2.h:1.3 Tue May 26 04:04:12 2009
+++ src/sys/sys/sha2.h Fri Jan 19 13:39:59 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: sha2.h,v 1.3 2009/05/26 08:04:12 joerg Exp $ */
+/* $NetBSD: sha2.h,v 1.4 2024/01/19 18:39:59 christos Exp $ */
/* $KAME: sha2.h,v 1.4 2003/07/20 00:28:38 itojun Exp $ */
/*
@@ -115,6 +115,13 @@ char *SHA512_FileChunk(const char *, cha
char *SHA512_File(const char *, char *);
char *SHA512_Data(const uint8_t *, size_t, char[SHA512_DIGEST_STRING_LENGTH]);
#endif /* !_KERNEL */
+
+#ifdef _LIBC_INTERNAL
+void SHA224_Transform(SHA224_CTX *, const uint32_t*);
+void SHA256_Transform(SHA256_CTX *, const uint32_t*);
+void SHA384_Transform(SHA384_CTX *, const uint64_t*);
+void SHA512_Transform(SHA512_CTX *, const uint64_t*);
+#endif
__END_DECLS
#endif /* __SHA2_H__ */
Index: src/sys/sys/sysctl.h
diff -u src/sys/sys/sysctl.h:1.237 src/sys/sys/sysctl.h:1.238
--- src/sys/sys/sysctl.h:1.237 Thu Apr 6 23:01:21 2023
+++ src/sys/sys/sysctl.h Fri Jan 19 13:39:59 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.h,v 1.237 2023/04/07 03:01:21 simonb Exp $ */
+/* $NetBSD: sysctl.h,v 1.238 2024/01/19 18:39:59 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -1231,6 +1231,9 @@ int proc_compare(const struct kinfo_proc
const struct kinfo_proc2 *, const struct kinfo_lwp *);
void *asysctl(const int *, size_t, size_t *);
void *asysctlbyname(const char *, size_t *);
+#ifdef _LIBC_INTERNAL
+int __learn_tree(int *, u_int, struct sysctlnode *);
+#endif
__END_DECLS
#endif /* !_KERNEL */