Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2012 20:54:44 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r229204 - in head/sys: conf libkern sys
Message-ID:  <201201012054.q01Ksiu9030336@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Jan  1 20:54:44 2012
New Revision: 229204
URL: http://svn.freebsd.org/changeset/base/229204

Log:
  Remove the now unused skpc() function.
  
  It was only used by ufs and ext2 and I have really strong doubts that
  there are other pieces of code that also use this function. If it turns
  out that external drivers use this code as well, I'd be happy to migrate
  or revert.
  
  Bump __FreeBSD_version while there.

Deleted:
  head/sys/libkern/skpc.c
Modified:
  head/sys/conf/files
  head/sys/sys/libkern.h
  head/sys/sys/param.h

Modified: head/sys/conf/files
==============================================================================
--- head/sys/conf/files	Sun Jan  1 20:53:33 2012	(r229203)
+++ head/sys/conf/files	Sun Jan  1 20:54:44 2012	(r229204)
@@ -2564,7 +2564,6 @@ libkern/qsort_r.c		standard
 libkern/random.c		standard
 libkern/rindex.c		standard
 libkern/scanc.c			standard
-libkern/skpc.c			standard
 libkern/strcasecmp.c		standard
 libkern/strcat.c		standard
 libkern/strcmp.c		standard

Modified: head/sys/sys/libkern.h
==============================================================================
--- head/sys/sys/libkern.h	Sun Jan  1 20:53:33 2012	(r229203)
+++ head/sys/sys/libkern.h	Sun Jan  1 20:54:44 2012	(r229204)
@@ -102,7 +102,6 @@ u_long	 random(void);
 char	*index(const char *, int);
 char	*rindex(const char *, int);
 int	 scanc(u_int, const u_char *, const u_char *, int);
-int	 skpc(int, int, char *);
 void	 srandom(u_long);
 int	 strcasecmp(const char *, const char *);
 char	*strcat(char * __restrict, const char * __restrict);

Modified: head/sys/sys/param.h
==============================================================================
--- head/sys/sys/param.h	Sun Jan  1 20:53:33 2012	(r229203)
+++ head/sys/sys/param.h	Sun Jan  1 20:54:44 2012	(r229204)
@@ -58,7 +58,7 @@
  *		in the range 5 to 9.
  */
 #undef __FreeBSD_version
-#define __FreeBSD_version 1000003	/* Master, propagated to newvers */
+#define __FreeBSD_version 1000004	/* Master, propagated to newvers */
 
 /*
  * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201012054.q01Ksiu9030336>