Skip to content
Snippets Groups Projects
Commit c1c798fb authored by roland's avatar roland Committed by Damien George
Browse files

drivers/cc3000: Use cc3000_time_t instead of time_t for custom typedef.

Otherwise it can clash with time_t from the C standard include headers.
parent 17b51202
Branches
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ extern int CC3000_EXPORT(errno); ...@@ -165,7 +165,7 @@ extern int CC3000_EXPORT(errno);
//***************************************************************************** //*****************************************************************************
// Compound Types // Compound Types
//***************************************************************************** //*****************************************************************************
typedef INT32 time_t; typedef INT32 cc3000_time_t;
typedef UINT32 clock_t; typedef UINT32 clock_t;
typedef INT32 suseconds_t; typedef INT32 suseconds_t;
...@@ -173,7 +173,7 @@ typedef struct cc3000_timeval cc3000_timeval; ...@@ -173,7 +173,7 @@ typedef struct cc3000_timeval cc3000_timeval;
struct cc3000_timeval struct cc3000_timeval
{ {
time_t tv_sec; /* seconds */ cc3000_time_t tv_sec; /* seconds */
suseconds_t tv_usec; /* microseconds */ suseconds_t tv_usec; /* microseconds */
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment