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