Attempt to fix the build
authorVolker Lendecke <vl@samba.org>
Tue, 14 Jul 2009 19:28:13 +0000 (21:28 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 14 Jul 2009 19:29:22 +0000 (21:29 +0200)
source3/param/loadparm.c

index 5d3ac9207e9cd6b5ee800c83df6a445a6726779d..dbbd6e327da718e1600c144da02884ce275d9db3 100644 (file)
@@ -8729,28 +8729,6 @@ static int process_usershare_file(const char *dir_name, const char *file_name, i
        return iService;
 }
 
-/***************************************************************************
-Am I a usershare service?
-***************************************************************************/
-bool am_usershare(int iService)
-{
-       if (iService >= 0) {
-               return (ServicePtrs[iService]->usershare == USERSHARE_VALID);
-       }
-       return false;
-}
-
-/***************************************************************************
-Am I a usershare service?
-***************************************************************************/
-bool am_usershare(int iService)
-{
-       if (iService >= 0) {
-               return (ServicePtrs[iService]->usershare == USERSHARE_VALID);
-       }
-       return false;
-}
-
 /***************************************************************************
  Checks if a usershare entry has been modified since last load.
 ***************************************************************************/