Add missing decls

This commit is contained in:
christos 2024-01-19 18:40:35 +00:00
parent daa5a37329
commit e4473f945c
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: md2.h,v 1.8 2023/08/01 07:04:15 mrg Exp $ */ /* $NetBSD: md2.h,v 1.9 2024/01/19 18:40:35 christos Exp $ */
#ifndef _MD2_H_ #ifndef _MD2_H_
#define _MD2_H_ #define _MD2_H_
@ -25,6 +25,9 @@ char *MD2End(MD2_CTX *, char[MD2_DIGEST_STRING_LENGTH]);
char *MD2File(const char *, char *); char *MD2File(const char *, char *);
char *MD2FileChunk(const char *, char *, off_t, off_t); char *MD2FileChunk(const char *, char *, off_t, off_t);
char *MD2Data(const unsigned char *, size_t, char[MD2_DIGEST_STRING_LENGTH]); char *MD2Data(const unsigned char *, size_t, char[MD2_DIGEST_STRING_LENGTH]);
#ifdef _LIBC_INTERNAL
void MD2Transform(MD2_CTX *);
#endif
__END_DECLS __END_DECLS
#endif /* _MD2_H_ */ #endif /* _MD2_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: unistd.h,v 1.163 2022/05/31 13:42:59 riastradh Exp $ */ /* $NetBSD: unistd.h,v 1.164 2024/01/19 18:40:35 christos Exp $ */
/*- /*-
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc. * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@ -414,5 +414,10 @@ extern int optreset; /* getopt(3) external variable */
extern char *suboptarg; /* getsubopt(3) external variable */ extern char *suboptarg; /* getsubopt(3) external variable */
#endif #endif
#ifdef _LIBC_INTERNAL
pid_t __fork(void);
pid_t __locked_fork(int *) __weak;
#endif
__END_DECLS __END_DECLS
#endif /* !_UNISTD_H_ */ #endif /* !_UNISTD_H_ */