mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Do not re-prototype strdup()
This commit is contained in:
parent
1483f41a69
commit
94eb7100d3
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue