Changeset 4c53333 in mainline for uspace/lib/c/generic/device/graph_dev.c
- Timestamp:
- 2013-07-11T08:21:10Z (13 years ago)
- 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. - File:
-
- 1 moved
-
uspace/lib/c/generic/device/graph_dev.c (moved) (moved from uspace/lib/posix/math.h ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/device/graph_dev.c
r80445cf r4c53333 27 27 */ 28 28 29 /** @addtogroup libposix 29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 /** @file Mathematical operations.32 /** @file 33 33 */ 34 34 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> 37 38 38 /* Normalization Functions */ 39 extern double posix_ldexp(double x, int exp); 40 extern double posix_frexp(double num, int *exp); 39 int 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); 41 44 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 } 48 47 49 48 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.
