/*
- * "$Id: env.c 5245 2006-03-08 13:09:49Z mike $"
+ * "$Id: env.c 5305 2006-03-18 03:05:12Z mike $"
*
* Environment management routines for the Common UNIX Printing System (CUPS).
*
*
* Contents:
*
- * cupsdClearEnv() - Clear common environment variables.
* cupsdInitEnv() - Initialize the current environment with standard
* variables.
* cupsdLoadEnv() - Copy common environment variables into an array.
* cupsdSetEnv() - Set a common environment variable.
* cupsdSetEnvf() - Set a formatted common environment variable.
+ * clear_env() - Clear common environment variables.
*/
/*
/*
- * 'cupsdClearEnv()' - Clear common environment variables.
+ * Local functions...
*/
-void
-cupsdClearEnv(void)
-{
- int i; /* Looping var */
-
-
- for (i = 0; i < num_common_env; i ++)
- cupsdClearString(common_env + i);
-
- num_common_env = 0;
-}
+static void clear_env(void);
/*
* Clear existing environment variables...
*/
- cupsdClearEnv();
+ clear_env();
#if defined(__APPLE__)
/*
/*
- * End of "$Id: env.c 5245 2006-03-08 13:09:49Z mike $".
+ * 'clear_env()' - Clear common environment variables.
+ */
+
+static void
+clear_env(void)
+{
+ int i; /* Looping var */
+
+
+ for (i = 0; i < num_common_env; i ++)
+ cupsdClearString(common_env + i);
+
+ num_common_env = 0;
+}
+
+
+/*
+ * End of "$Id: env.c 5305 2006-03-18 03:05:12Z mike $".
*/