Do not re-prototype strdup()
This commit is contained in:
parent
1483f41a69
commit
94eb7100d3
|
|
@ -73,7 +73,9 @@
|
|||
#include <Dt/Dts.h>
|
||||
#include "DtSvcLock.h"
|
||||
|
||||
#if !defined(linux)
|
||||
extern char *strdup(const char *);
|
||||
#endif
|
||||
|
||||
static int cur_dc_count = 0;
|
||||
static int cur_da_count = 0;
|
||||
|
|
|
|||
|
|
@ -58,8 +58,9 @@
|
|||
#include "Dt/DtsDb.h"
|
||||
#include "Dt/Dts.h"
|
||||
|
||||
#if !defined(linux)
|
||||
extern char *strdup(const char *);
|
||||
|
||||
#endif
|
||||
|
||||
static char *
|
||||
get_value(DtDtsDbRecord *ce_entry, char *value)
|
||||
|
|
|
|||
Loading…
Reference in New Issue