summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Dalley <kevin@seti.org>1999-01-31 02:23:20 +0000
committerKevin Dalley <kevin@seti.org>1999-01-31 02:23:20 +0000
commit0b95314416f70fb81b12228e23b090df5c434c39 (patch)
tree2f363225ceac70828346243aba68976c25a7e5c8
parent9a1bc2d5fcec5b5d0d98ebfbff03f1f2a553c2ec (diff)
downloadfindutils-0b95314416f70fb81b12228e23b090df5c434c39.tar.gz
* added const to declaration of basename, which should satisfy Linux as
well as Hurd (fixes bug #31325).
-rw-r--r--find/defs.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/find/defs.h b/find/defs.h
index 074cbdd3..535ecf48 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 )()));