~ubuntu-branches/ubuntu/utopic/vice/utopic-proposed

« back to all changes in this revision

Viewing changes to src/vic20/vic20printer.c

  • Committer: Package Import Robot
  • Author(s): Logan Rosen
  • Date: 2014-05-10 21:08:23 UTC
  • mfrom: (17.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140510210823-v5aojvy1pv1sg132
Tags: 2.4.dfsg+2.4.6-1ubuntu1
Use autotools-dev to update config.{sub,guess} for new arches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
void machine_printer_setup_context(struct machine_context_s *machine_context)
36
36
{
37
 
 
38
37
}
39
38
 
40
39
int machine_printer_resources_init(void)
41
40
{
42
 
    if (printer_serial_init_resources() < 0
43
 
        || printer_userport_init_resources())
 
41
    if (printer_serial_init_resources() < 0 || printer_userport_init_resources()) {
44
42
        return -1;
 
43
    }
45
44
    return 0;
46
45
}
47
46
 
51
50
 
52
51
int machine_printer_cmdline_options_init(void)
53
52
{
54
 
    if (printer_serial_init_cmdline_options() < 0
55
 
        || printer_userport_init_cmdline_options() < 0)
 
53
    if (printer_serial_init_cmdline_options() < 0 || printer_userport_init_cmdline_options() < 0) {
56
54
        return -1;
 
55
    }
57
56
    return 0;
58
57
}
59
58
 
73
72
{
74
73
    printer_serial_shutdown();
75
74
}
76