/[path-sandbox]/trunk/libsbutil/is_env_on.c
Gentoo

Diff of /trunk/libsbutil/is_env_on.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 369 Revision 370
5 * 5 *
6 * Copyright 1999-2008 Gentoo Foundation 6 * Copyright 1999-2008 Gentoo Foundation
7 * Licensed under the GPL-2 7 * Licensed under the GPL-2
8 */ 8 */
9 9
10#include <errno.h> 10#include "headers.h"
11#include <stdlib.h>
12#include <string.h>
13
14#include "sbutil.h" 11#include "sbutil.h"
15 12
16bool is_env_on (const char *env) 13bool is_env_on (const char *env)
17{ 14{
18 if ((NULL != env) && (NULL != getenv(env)) && 15 if ((NULL != env) && (NULL != getenv(env)) &&

Legend:
Removed from v.369  
changed lines
  Added in v.370

  ViewVC Help
Powered by ViewVC 1.1.20