/[baselayout]/trunk/src/librc-depend.c
Gentoo

Diff of /trunk/src/librc-depend.c

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

Revision 3023 Revision 3024
474 rc_strlist_free (visited.list); 474 rc_strlist_free (visited.list);
475 return (sorted.list); 475 return (sorted.list);
476} 476}
477librc_hidden_def(rc_deptree_depends) 477librc_hidden_def(rc_deptree_depends)
478 478
479char **rc_deptree_order_services (rc_depinfo_t *deptree, const char *runlevel, 479char **rc_deptree_order (rc_depinfo_t *deptree, const char *runlevel,
480 int options) 480 int options)
481{ 481{
482 char **list = NULL; 482 char **list = NULL;
483 char **types = NULL; 483 char **types = NULL;
484 char **services = NULL; 484 char **services = NULL;
485 bool reverse = false; 485 bool reverse = false;
536 if (reverse) 536 if (reverse)
537 rc_strlist_reverse (services); 537 rc_strlist_reverse (services);
538 538
539 return (services); 539 return (services);
540} 540}
541librc_hidden_def(rc_deptree_order_services) 541librc_hidden_def(rc_deptree_order)
542 542
543static bool is_newer_than (const char *file, const char *target) 543static bool is_newer_than (const char *file, const char *target)
544{ 544{
545 struct stat buf; 545 struct stat buf;
546 time_t mtime; 546 time_t mtime;

Legend:
Removed from v.3023  
changed lines
  Added in v.3024

  ViewVC Help
Powered by ViewVC 1.1.20