Initial doxygen documentation for rc.h and einfo.h. Plus some header clean ups.

This commit is contained in:
Roy Marples
2007-09-25 15:38:21 +00:00
parent a2e5c4513e
commit 1e4e8ed27a
11 changed files with 464 additions and 149 deletions

View File

@ -307,6 +307,7 @@ static void cleanup (void)
free (applet);
free (prefix);
free (service);
free (softlevel);
}
static int write_prefix (const char *buffer, size_t bytes, bool *prefixed) {
@ -1029,7 +1030,7 @@ int runscript (int argc, char **argv)
}
#endif
if ((softlevel = getenv ("RC_SOFTLEVEL")) == NULL) {
if ((softlevel = rc_xstrdup (getenv ("RC_SOFTLEVEL"))) == NULL) {
/* Ensure our environment is pure
Also, add our configuration to it */
tmplist = rc_make_env();