artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b543445
)
A couple of missed 'const'.
author
krw
<krw@openbsd.org>
Wed, 21 Jul 2021 20:26:30 +0000
(20:26 +0000)
committer
krw
<krw@openbsd.org>
Wed, 21 Jul 2021 20:26:30 +0000
(20:26 +0000)
sbin/fdisk/cmd.c
patch
|
blob
|
history
diff --git
a/sbin/fdisk/cmd.c
b/sbin/fdisk/cmd.c
index
ea9754c
..
ebd9270
100644
(file)
--- a/
sbin/fdisk/cmd.c
+++ b/
sbin/fdisk/cmd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cmd.c,v 1.13
4 2021/07/21 12:22:54
krw Exp $ */
+/* $OpenBSD: cmd.c,v 1.13
5 2021/07/21 20:26:30
krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@
-302,7
+302,7
@@
Xedit(char *args, struct mbr *mbr)
}
int
-gsetpid(int pn)
+gsetpid(
const
int pn)
{
struct uuid gp_type, gp_guid;
struct gpt_partition *gg;
@@
-346,7
+346,7
@@
gsetpid(int pn)
}
int
-setpid(int pn, struct mbr *mbr)
+setpid(
const
int pn, struct mbr *mbr)
{
struct prt *pp;