-/* $OpenBSD: extern.h,v 1.41 2014/05/23 19:47:49 guenther Exp $ */
+/* $OpenBSD: extern.h,v 1.42 2014/07/14 06:00:22 guenther Exp $ */
/* $NetBSD: extern.h,v 1.5 1996/03/26 23:54:16 mrg Exp $ */
/*-
int dir_start(void);
void add_dir(char *, struct stat *, int);
void proc_dir(int _in_sig);
-u_int st_hash(char *, int, int);
+u_int st_hash(const char *, int, int);
/*
* tar.c
-/* $OpenBSD: tables.c,v 1.35 2014/07/14 05:58:19 guenther Exp $ */
+/* $OpenBSD: tables.c,v 1.36 2014/07/14 06:00:22 guenther Exp $ */
/* $NetBSD: tables.c,v 1.4 1995/03/21 09:07:45 cgd Exp $ */
/*-
*/
u_int
-st_hash(char *name, int len, int tabsz)
+st_hash(const char *name, int len, int tabsz)
{
- char *pt;
+ const char *pt;
char *dest;
- char *end;
+ const char *end;
int i;
u_int key = 0;
int steps;