Changeset b3193b8 in rtems-libbsd


Ignore:
Timestamp:
Oct 24, 2013, 9:36:09 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
46ffd72
Parents:
e2281af
git-author:
Sebastian Huber <sebastian.huber@…> (10/24/13 09:36:09)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:18:51)
Message:

Move strdup() define to <sys/libkern.h>

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/sys/libkern.h

    re2281af rb3193b8  
    117117char    *strcpy(char * __restrict, const char * __restrict);
    118118size_t   strcspn(const char * __restrict, const char * __restrict) __pure;
     119#ifdef __rtems__
     120#include <string.h>
     121#define strdup _bsd_strdup
     122#endif /* __rtems__ */
    119123char    *strdup(const char *__restrict, struct malloc_type *);
    120124size_t   strlcat(char *, const char *, size_t);
  • rtemsbsd/include/machine/rtems-bsd-symbols.h

    re2281af rb3193b8  
    330330#define selwakeup _bsd_selwakeup
    331331#define selwakeuppri _bsd_selwakeuppri
    332 #define strdup _bsd_strdup
    333332#define sx_destroy _bsd_sx_destroy
    334333#define _sx_downgrade _bsd__sx_downgrade
Note: See TracChangeset for help on using the changeset viewer.