svn commit: r270829 - head/sys/kern

Andreas Tobler andreast at
Fri Aug 29 21:50:33 UTC 2014

Author: andreast
Date: Fri Aug 29 21:50:32 2014
New Revision: 270829

  Rename shm_dict_init to shm_init to fix a compiler warning.
  Reviewed by:	jhb


Modified: head/sys/kern/uipc_shm.c
--- head/sys/kern/uipc_shm.c	Fri Aug 29 21:25:47 2014	(r270828)
+++ head/sys/kern/uipc_shm.c	Fri Aug 29 21:50:32 2014	(r270829)
@@ -109,7 +109,7 @@ static dev_t shm_dev_ino;
 static int	shm_access(struct shmfd *shmfd, struct ucred *ucred, int flags);
 static struct shmfd *shm_alloc(struct ucred *ucred, mode_t mode);
-static void	shm_dict_init(void *arg);
+static void	shm_init(void *arg);
 static void	shm_drop(struct shmfd *shmfd);
 static struct shmfd *shm_hold(struct shmfd *shmfd);
 static void	shm_insert(char *path, Fnv32_t fnv, struct shmfd *shmfd);

More information about the svn-src-all mailing list