repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
data_source: ignore fake assignments
[smatch.git]
/
compat-bsd.c
blob
4f3c8c0bd6dc39c0a0b065376d03f5f652f8919e
1
/*
2
* BSD Compatibility functions
3
*
4
*
5
* Licensed under the Open Software License version 1.1
6
*/
7
8
#include <sys/types.h>
9
#include <string.h>
10
11
#include
"lib.h"
12
#include
"allocate.h"
13
#include
"token.h"
14
15
#include
"compat/mmap-blob.c"
16
17
long double
string_to_ld
(
const char
*
nptr
,
char
**
endptr
)
18
{
19
return
strtod
(
nptr
,
endptr
);
20
}