X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Fstring.c;h=a2433bf5922d2013e80f19a1e1897842657de535;hb=5491476845938cd48837a072b0df55ffa7210e77;hp=682bd76d116b158e7b9577308040facaec1acd65;hpb=64fa3fec6c28f1d077812b4bfa06ae73b0f5999d;p=babeltrace.git diff --git a/formats/ctf/types/string.c b/formats/ctf/types/string.c index 682bd76d..a2433bf5 100644 --- a/formats/ctf/types/string.c +++ b/formats/ctf/types/string.c @@ -16,14 +16,22 @@ * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. */ -#include +#include #include #include /* C99 limits */ #include -int ctf_string_read(struct stream_pos *ppos, struct definition *definition) +int ctf_string_read(struct bt_stream_pos *ppos, struct bt_definition *definition) { struct definition_string *string_definition = container_of(definition, struct definition_string, p); @@ -60,8 +68,8 @@ int ctf_string_read(struct stream_pos *ppos, struct definition *definition) return 0; } -int ctf_string_write(struct stream_pos *ppos, - struct definition *definition) +int ctf_string_write(struct bt_stream_pos *ppos, + struct bt_definition *definition) { struct definition_string *string_definition = container_of(definition, struct definition_string, p);