From 11fb070964adf57eea4191d315a752c96f80a426 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Mon, 17 May 2010 07:09:13 +0000 Subject: OS X: adjustments, minor fixes to eliminate warnings Signed-off-by: Csaba Henk Signed-off-by: Anand V. Avati BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361 --- contrib/apple/daemon.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 contrib/apple/daemon.h (limited to 'contrib/apple/daemon.h') diff --git a/contrib/apple/daemon.h b/contrib/apple/daemon.h new file mode 100644 index 00000000000..7a2824b6a47 --- /dev/null +++ b/contrib/apple/daemon.h @@ -0,0 +1,20 @@ +/* + Copyright (c) 2010 Gluster, Inc. + This file is part of GlusterFS. + + GlusterFS is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3 of the License, + or (at your option) any later version. + + GlusterFS is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see + . +*/ + +int os_daemon(int nochdir, int noclose); -- cgit