X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libctf%2Fctf-impl.h;h=267801d12db7d9949ba7b1cf8cc56d144349c9dd;hb=efb763a5ea351f9d865cbe491909f03472ebf2d6;hp=f8e9a7788adee27f39c81f175275f7306a8da8a8;hpb=99dc3ebdfff927b30db58117d7bd80586e273669;p=deliverable%2Fbinutils-gdb.git diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index f8e9a7788a..267801d12d 100644 --- a/libctf/ctf-impl.h +++ b/libctf/ctf-impl.h @@ -1,5 +1,5 @@ /* Implementation header. - Copyright (C) 2019 Free Software Foundation, Inc. + Copyright (C) 2019-2020 Free Software Foundation, Inc. This file is part of libctf. @@ -455,14 +455,9 @@ extern void *ctf_mmap (size_t length, size_t offset, int fd); extern void ctf_munmap (void *, size_t); extern ssize_t ctf_pread (int fd, void *buf, ssize_t count, off_t offset); -_libctf_malloc_ -extern void *ctf_alloc (size_t); -extern void ctf_free (void *); extern void *ctf_realloc (ctf_file_t *, void *, size_t); - -_libctf_malloc_ -extern char *ctf_strdup (const char *); extern char *ctf_str_append (char *, const char *); +extern char *ctf_str_append_noerr (char *, const char *); extern const char *ctf_strerror (int); extern ctf_id_t ctf_type_resolve_unsliced (ctf_file_t *, ctf_id_t);