From 52a11fe36e58eca995a819aef20567538b50b078 Mon Sep 17 00:00:00 2001 From: kevind Date: Sun, 31 Jan 1999 02:23:20 +0000 Subject: [PATCH] * added const to declaration of basename, which should satisfy Linux as well as Hurd (fixes bug #31325). --- find/defs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/find/defs.h b/find/defs.h index 074cbdd..535ecf4 100644 --- a/find/defs.h +++ b/find/defs.h @@ -301,9 +301,7 @@ boolean opt_expr P_((struct predicate **eval_treep)); boolean mark_stat P_((struct predicate *tree)); /* util.c */ -#ifndef __linux__ -char *basename P_((char *fname)); -#endif /* not __linux__ */ +char *basename P_((const char *fname)); struct predicate *get_new_pred P_((void)); struct predicate *get_new_pred_chk_op P_((void)); struct predicate *insert_primary P_((boolean (*pred_func )())); -- 2.11.4.GIT