Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset bf31e3f in mainline


Ignore:
Timestamp:
2012-01-30T11:59:57Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
3d4750f, 4d9fe7b
Parents:
dc9a3ba
Message:

Fix function definitions with extern specifier.

Location:
uspace/lib
Files:
3 edited

Legend:

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

    rdc9a3ba rbf31e3f  
    595595
    596596/** Allocate driver-specific device data. */
    597 extern void *ddf_dev_data_alloc(ddf_dev_t *dev, size_t size)
     597void *ddf_dev_data_alloc(ddf_dev_t *dev, size_t size)
    598598{
    599599        void *data;
     
    657657
    658658/** Allocate driver-specific function data. */
    659 extern void *ddf_fun_data_alloc(ddf_fun_t *fun, size_t size)
     659void *ddf_fun_data_alloc(ddf_fun_t *fun, size_t size)
    660660{
    661661        void *data;
  • uspace/lib/nic/src/nic_ev.c

    rdc9a3ba rbf31e3f  
    6363
    6464/** Device state changed. */
    65 extern int nic_ev_device_state(async_sess_t *sess, sysarg_t state)
     65int nic_ev_device_state(async_sess_t *sess, sysarg_t state)
    6666{
    6767        int rc;
  • uspace/lib/posix/ctype.c

    rdc9a3ba rbf31e3f  
    112112 * @return Non-zero if character match the definition, zero otherwise.
    113113 */
    114 extern int posix_isascii(int c)
     114int posix_isascii(int c)
    115115{
    116116        return c >= 0 && c < 128;
     
    123123 * @return Coverted character.
    124124 */
    125 extern int posix_toascii(int c)
     125int posix_toascii(int c)
    126126{
    127127        return c & 0x7F;
Note: See TracChangeset for help on using the changeset viewer.