Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Don't declare the "convenience functions" if _KERNEL...



details:   https://anonhg.NetBSD.org/src/rev/663d51b44ba8
branches:  trunk
changeset: 494507:663d51b44ba8
user:      ad <ad%NetBSD.org@localhost>
date:      Fri Jul 07 10:47:06 2000 +0000

description:
Don't declare the "convenience functions" if _KERNEL is defined.

diffstat:

 include/rmd160.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 30b19157a2cd -r 663d51b44ba8 include/rmd160.h
--- a/include/rmd160.h  Fri Jul 07 10:43:54 2000 +0000
+++ b/include/rmd160.h  Fri Jul 07 10:47:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmd160.h,v 1.1 2000/07/05 11:44:01 ad Exp $    */
+/*     $NetBSD: rmd160.h,v 1.2 2000/07/07 10:47:06 ad Exp $    */
 
 /********************************************************************\
  *
@@ -39,9 +39,11 @@
 void   RMD160Transform(u_int32_t[5], const u_int32_t[16]);
 void   RMD160Update(RMD160_CTX *, const u_char *, u_int32_t);
 void   RMD160Final(u_char[20], RMD160_CTX *);
+#ifndef        _KERNEL
 char   *RMD160End(RMD160_CTX *, char *);
 char   *RMD160File(char *, char *);
 char   *RMD160Data(const u_char *, size_t, char *);
+#endif /* _KERNEL */
 __END_DECLS
 
 #endif  /* !_RMD160_H_ */



Home | Main Index | Thread Index | Old Index