summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 09:29:40 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 09:29:40 +0000
commit0ed1ced415590a3961bc940417e225eb4eaa60f2 (patch)
tree4bf775ecd6a2c1de55b527fdddbead7d53473e1e
parent9bd09e059b715971c804e7ee406fbfa1cde25a7e (diff)
2002-05-07 Roland McGrath <roland@frob.com>
* default_pager.c (part_id): Add const to argument type.
-rw-r--r--serverboot/default_pager.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/serverboot/default_pager.c b/serverboot/default_pager.c
index be6b13be..f0cb4d49 100644
--- a/serverboot/default_pager.c
+++ b/serverboot/default_pager.c
@@ -142,8 +142,7 @@ void set_partition_of(x, p)
* Saves space, filenames can be long.
*/
unsigned int
-part_id(name)
- unsigned char *name;
+part_id(const unsigned char *name)
{
register unsigned int len, id, xorid;