Whamcloud - gitweb
b=16842 Libcfs common code changes
[fs/lustre-release.git] / libcfs / libcfs / darwin / darwin-prim.c
index b95cc76..5366000 100644 (file)
@@ -16,8 +16,8 @@
  * in the LICENSE file that accompanied this code).
  *
  * You should have received a copy of the GNU General Public License
- * version 2 along with this program; If not, see [sun.com URL with a
- * copy of GPLv2].
+ * version 2 along with this program; If not, see
+ * http://www.sun.com/software/products/lustre/docs/GPLv2.pdf
  *
  * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  * CA 95054 USA or visit www.sun.com if you need additional information or
@@ -26,7 +26,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright  2008 Sun Microsystems, Inc. All rights reserved
+ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Use is subject to license terms.
  */
 /*
@@ -362,10 +362,6 @@ void cfs_daemonize(char *str)
  * These signal functions almost do nothing now, we 
  * need to investigate more about signal in Darwin.
  */
-cfs_sigset_t cfs_get_blockedsigs()
-{
-        return (cfs_sigset_t)0;
-}
 
 extern int block_procsigmask(struct proc *p,  int bit);
 
@@ -475,12 +471,6 @@ void cfs_waitq_add_exclusive(struct cfs_waitq *waitq,
        ksleep_add(&waitq->wq_ksleep_chan, &link->wl_ksleep_link);
 }
 
-void cfs_waitq_forward(struct cfs_waitlink *link,
-                       struct cfs_waitq *waitq)
-{
-       link->wl_ksleep_link.forward = &waitq->wq_ksleep_chan;
-}
-
 void cfs_waitq_del(struct cfs_waitq *waitq,
                    struct cfs_waitlink *link)
 {