Do not re-prototype strdup()
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user