Changeset 6e04581 in mainline


Ignore:
Timestamp:
2013-12-31T03:10:57Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1798e66
Parents:
20ec37c
Message:

libdrv, clock_dev: Use index initialized arrays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_clock_dev.c

    r20ec37c r6e04581  
    3737#include <time.h>
    3838#include <macros.h>
     39#include <device/clock_dev.h>
    3940
    4041#include <ops/clock_dev.h>
     
    4849/** Remote clock interface operations */
    4950static const remote_iface_func_ptr_t remote_clock_dev_iface_ops[] = {
    50         &remote_clock_time_get,
    51         &remote_clock_time_set,
     51        [CLOCK_DEV_TIME_GET] = remote_clock_time_get,
     52        [CLOCK_DEV_TIME_SET] = remote_clock_time_set,
    5253};
    5354
Note: See TracChangeset for help on using the changeset viewer.