*
* Floating point read/write functions.
*
- * Copyright 2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * Copyright 2010-2011 EfficiOS Inc. and Linux Foundation
+ *
+ * Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
union ldoubleIEEE754 u;
struct definition *tmpdef =
static_ldouble_declaration->p.definition_new(&static_ldouble_declaration->p,
- NULL, 0, 0);
+ NULL, 0, 0, NULL);
struct definition_float *tmpfloat =
container_of(tmpdef, struct definition_float, p);
struct ctf_stream_pos destp;
int ret;
- ctf_init_pos(&destp, -1, O_WRONLY);
+ ctf_init_pos(&destp, -1, O_RDWR);
destp.base = (char *) u.bits;
ctf_align_pos(pos, float_declaration->p.alignment);
union ldoubleIEEE754 u;
struct definition *tmpdef =
static_ldouble_declaration->p.definition_new(&static_ldouble_declaration->p,
- NULL, 0, 0);
+ NULL, 0, 0, NULL);
struct definition_float *tmpfloat =
container_of(tmpdef, struct definition_float, p);
struct ctf_stream_pos srcp;