Ignore:
Timestamp:
2013-07-11T08:21:10Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
64e63ce1
Parents:
80445cf (diff), c8bb1633 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/device/graph_dev.c

    r80445cf r4c53333  
    2727 */
    2828
    29 /** @addtogroup libposix
     29 /** @addtogroup libc
    3030 * @{
    3131 */
    32 /** @file Mathematical operations.
     32/** @file
    3333 */
    3434
    35 #ifndef POSIX_MATH_H_
    36 #define POSIX_MATH_H_
     35#include <errno.h>
     36#include <ipc/dev_iface.h>
     37#include <device/graph_dev.h>
    3738
    38 /* Normalization Functions */
    39 extern double posix_ldexp(double x, int exp);
    40 extern double posix_frexp(double num, int *exp);
     39int graph_dev_connect(async_sess_t *sess)
     40{
     41        async_exch_t *exch = async_exchange_begin(sess);
     42        int ret = async_req_1_0(exch, DEV_IFACE_ID(GRAPH_DEV_IFACE), GRAPH_DEV_CONNECT);
     43        async_exchange_end(exch);
    4144
    42 #ifndef LIBPOSIX_INTERNAL
    43         #define ldexp posix_ldexp
    44         #define frexp posix_frexp
    45 #endif
    46 
    47 #endif /* POSIX_MATH_H_ */
     45        return ret;
     46}
    4847
    4948/** @}
Note: See TracChangeset for help on using the changeset viewer.