1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00

constify g_sanity()

This commit is contained in:
Poul-Henning Kamp 2003-06-01 13:30:39 +00:00
parent 2d2b70f60b
commit a6c58fec6c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115623
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ int g_handleattr_off_t(struct bio *bp, const char *attribute, off_t val);
struct g_consumer * g_new_consumer(struct g_geom *gp);
struct g_geom * g_new_geomf(struct g_class *mp, const char *fmt, ...);
struct g_provider * g_new_providerf(struct g_geom *gp, const char *fmt, ...);
void g_sanity(void *ptr);
void g_sanity(void const *ptr);
void g_spoil(struct g_provider *pp, struct g_consumer *cp);
int g_std_access(struct g_provider *pp, int dr, int dw, int de);
void g_std_done(struct bio *bp);

View File

@ -761,7 +761,7 @@ g_getattr__(const char *attr, struct g_consumer *cp, void *var, int len)
*/
void
g_sanity(void *ptr)
g_sanity(void const *ptr)
{
struct g_class *mp;
struct g_geom *gp;