summaryrefslogtreecommitdiff
path: root/serverboot/default_pager.c
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
commit1786d6362ca651fbbb84668ac3b9c87eb4056c02 (patch)
tree14bca8c2bd42e2accb137bbdf4c42d5b61929de6 /serverboot/default_pager.c
parentbbadb23926a1f873777e9a48da93934c1f94d0b9 (diff)
2002-05-07 Roland McGrath <roland@frob.com>
* default_pager.c (part_id): Add const to argument type.
Diffstat (limited to 'serverboot/default_pager.c')
-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;