[libc-commits] [PATCH] D111584: [libc] add strdup implementation

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Oct 12 14:29:40 PDT 2021


michaelrj added inline comments.


================
Comment at: libc/include/stdlib.h.def:17-22
+__BEGIN_C_DECLS
+  void* malloc(size_t);
+  void* calloc(size_t, size_t);
+  void* realloc(void*, size_t);
+  void free(void*);
+__END_C_DECLS
----------------
This feels wrong, but I'm not sure how else to get these into the header


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111584/new/

https://reviews.llvm.org/D111584



More information about the libc-commits mailing list