aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-09 09:48:28 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-09 09:48:28 +0000
commit3ab4fb266af960b0ff91cdb0b4128b4a38c42d34 (patch)
tree1709769f3115bb53a1bd27664fb5dbb3cafeaa60 /libsbutil/is_env_on.c
parentsandbox: drop pointless cast (diff)
downloadsandbox-3ab4fb266af960b0ff91cdb0b4128b4a38c42d34.tar.gz
sandbox-3ab4fb266af960b0ff91cdb0b4128b4a38c42d34.tar.bz2
sandbox-3ab4fb266af960b0ff91cdb0b4128b4a38c42d34.zip
cleanup whitespace and comments -- no functional changes
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsbutil/is_env_on.c')
-rw-r--r--libsbutil/is_env_on.c23
1 files changed, 3 insertions, 20 deletions
diff --git a/libsbutil/is_env_on.c b/libsbutil/is_env_on.c
index 0cfd174..9736779 100644
--- a/libsbutil/is_env_on.c
+++ b/libsbutil/is_env_on.c
@@ -3,26 +3,10 @@
*
* Util functions.
*
- * Copyright 1999-2006 Gentoo Foundation
- *
- *
- * This program 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 version 2 of the License.
- *
- * This program 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, write to the Free Software Foundation, Inc.,
- * 675 Mass Ave, Cambridge, MA 02139, USA.
- *
- * $Header$
+ * Copyright 1999-2008 Gentoo Foundation
+ * Licensed under the GPL-2
*/
-
#include <errno.h>
#include <stdlib.h>
#include <string.h>
@@ -36,7 +20,6 @@ bool is_env_on (const char *env)
(0 == strncasecmp(getenv(env), "true", 4)) ||
(0 == strncasecmp(getenv(env), "yes", 3))))
return TRUE;
-
+
return FALSE;
}
-