~ubuntu-branches/debian/stretch/spice/stretch

« back to all changes in this revision

Viewing changes to server/tests/test_empty_success.c

  • Committer: Package Import Robot
  • Author(s): Michael Tokarev
  • Date: 2015-10-09 01:14:03 UTC
  • mfrom: (0.4.8) (2.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20151009011403-t4vpns687ezjcjvk
Tags: 0.12.6-2
* stop linking with libcacard as no symbols from it are
  actually used
* use dh-autoreconf since we're modifying automake files again

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    int a,b;
9
9
};
10
10
 
11
 
SpiceTimer* timer_add(SpiceTimerFunc func, void *opaque)
 
11
SpiceTimer* timer_add(SPICE_GNUC_UNUSED SpiceTimerFunc func,
 
12
                      SPICE_GNUC_UNUSED void *opaque)
12
13
{
13
14
    static struct SpiceTimer t = {0,};
14
15
 
15
16
    return &t;
16
17
}
17
18
 
18
 
void timer_start(SpiceTimer *timer, uint32_t ms)
19
 
{
20
 
}
21
 
 
22
 
void timer_cancel(SpiceTimer *timer)
23
 
{
24
 
}
25
 
 
26
 
void timer_remove(SpiceTimer *timer)
27
 
{
28
 
}
29
 
 
30
 
SpiceWatch *watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque)
 
19
void timer_start(SPICE_GNUC_UNUSED SpiceTimer *timer,
 
20
                 SPICE_GNUC_UNUSED uint32_t ms)
 
21
{
 
22
}
 
23
 
 
24
void timer_cancel(SPICE_GNUC_UNUSED SpiceTimer *timer)
 
25
{
 
26
}
 
27
 
 
28
void timer_remove(SPICE_GNUC_UNUSED SpiceTimer *timer)
 
29
{
 
30
}
 
31
 
 
32
SpiceWatch *watch_add(SPICE_GNUC_UNUSED int fd,
 
33
                      SPICE_GNUC_UNUSED int event_mask,
 
34
                      SPICE_GNUC_UNUSED SpiceWatchFunc func,
 
35
                      SPICE_GNUC_UNUSED void *opaque)
31
36
{
32
37
    return NULL;
33
38
}
34
39
 
35
 
void watch_update_mask(SpiceWatch *watch, int event_mask)
36
 
{
37
 
}
38
 
 
39
 
void watch_remove(SpiceWatch *watch)
40
 
{
41
 
}
42
 
 
43
 
void channel_event(int event, SpiceChannelEventInfo *info)
 
40
void watch_update_mask(SPICE_GNUC_UNUSED SpiceWatch *watch,
 
41
                       SPICE_GNUC_UNUSED int event_mask)
 
42
{
 
43
}
 
44
 
 
45
void watch_remove(SPICE_GNUC_UNUSED SpiceWatch *watch)
 
46
{
 
47
}
 
48
 
 
49
void channel_event(SPICE_GNUC_UNUSED int event,
 
50
                   SPICE_GNUC_UNUSED SpiceChannelEventInfo *info)
44
51
{
45
52
}
46
53