Changeset 9359aae in mainline for uspace/lib/c


Ignore:
Timestamp:
2013-12-31T03:49:00Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0c322fa
Parents:
7f80313
Message:

libc,libdrv: Pass around const pointer to irq code.

We don't modify it at this point.

Location:
uspace/lib/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ddi.c

    r7f80313 r9359aae  
    280280 *
    281281 */
    282 int irq_register(int inr, int devno, int method, irq_code_t *ucode)
     282int irq_register(int inr, int devno, int method, const irq_code_t *ucode)
    283283{
    284284        return __SYSCALL4(SYS_IRQ_REGISTER, inr, devno, method,
  • uspace/lib/c/include/ddi.h

    r7f80313 r9359aae  
    130130}
    131131
    132 extern int irq_register(int, int, int, irq_code_t *);
     132extern int irq_register(int, int, int, const irq_code_t *);
    133133extern int irq_unregister(int, int);
    134134
Note: See TracChangeset for help on using the changeset viewer.