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,
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to