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/get_tmp_dir.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/get_tmp_dir.c')
-rw-r--r--libsbutil/get_tmp_dir.c24
1 files changed, 3 insertions, 21 deletions
diff --git a/libsbutil/get_tmp_dir.c b/libsbutil/get_tmp_dir.c
index d804d96..75ee40f 100644
--- a/libsbutil/get_tmp_dir.c
+++ b/libsbutil/get_tmp_dir.c
@@ -3,30 +3,13 @@
*
* 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.
+ * Copyright 1999-2008 Gentoo Foundation
+ * Licensed under the GPL-2
*
* Some parts might have Copyright:
- *
* Copyright (C) 2002 Brad House <brad@mainstreetsoftworks.com>
- *
- * $Header$
*/
-
#include <errno.h>
#include <limits.h>
#include <stdlib.h>
@@ -46,7 +29,6 @@ int get_tmp_dir(char *path)
/* Reset errno in case realpath set it */
restore_errno();
-
+
return 0;
}
-