Source-Changes-HG archive

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

[src/trunk]: src/sys/sys SHA1File() receives a const char * for filename.



details:   https://anonhg.NetBSD.org/src/rev/41af9a3ad361
branches:  trunk
changeset: 584586:41af9a3ad361
user:      elad <elad%NetBSD.org@localhost>
date:      Sat Sep 24 17:19:56 2005 +0000

description:
SHA1File() receives a const char * for filename.

diffstat:

 sys/sys/sha1.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3e67bef66636 -r 41af9a3ad361 sys/sys/sha1.h
--- a/sys/sys/sha1.h    Sat Sep 24 17:09:06 2005 +0000
+++ b/sys/sys/sha1.h    Sat Sep 24 17:19:56 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sha1.h,v 1.8 2005/09/24 17:09:06 elad Exp $    */
+/*     $NetBSD: sha1.h,v 1.9 2005/09/24 17:19:56 elad Exp $    */
 
 /*
  * SHA-1 in C
@@ -28,7 +28,7 @@
 void   SHA1Final(u_char[SHA1_DIGEST_LENGTH], SHA1_CTX *);
 #ifndef _KERNEL
 char   *SHA1End(SHA1_CTX *, char *);
-char   *SHA1File(char *, char *);
+char   *SHA1File(const char *, char *);
 char   *SHA1Data(const u_char *, size_t, char *);
 #endif /* _KERNEL */
 __END_DECLS



Home | Main Index | Thread Index | Old Index