aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-01-16 20:59:16 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-01-16 20:59:16 +0700
commitf989aa0abb94592d7b757a1d58cd4f9e4df51d8e (patch)
treeaa5791618a2a9994bdf555b0f306dfac39f153dd /src
parent54331941bfda2dca0a59224d7219fc12f93b1c15 (diff)
Remove __01*64_ aliases that don't appear to be necessary.
These were added when Python support was fixed up, but don't appear to be needed or used anywhere.
Diffstat (limited to 'src')
-rw-r--r--src/library.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/library.js b/src/library.js
index 69569601..fc120753 100644
--- a/src/library.js
+++ b/src/library.js
@@ -149,8 +149,6 @@ LibraryManager.library = {
}
return {{{ makeGetValue(0, '_readdir.result', 'i8*') }}};
},
- __01readdir64_: 'readdir',
- // TODO: Check if we need to link any other aliases.
// ==========================================================================
// utime.h
@@ -398,11 +396,6 @@ LibraryManager.library = {
stat64: 'stat',
fstat64: 'fstat',
lstat64: 'lstat',
- __01fstat64_: 'fstat',
- __01stat64_: 'stat',
- __01lstat64_: 'lstat',
-
- // TODO: Check if other aliases are needed.
// ==========================================================================
// sys/statvfs.h
@@ -433,8 +426,6 @@ LibraryManager.library = {
// http://pubs.opengroup.org/onlinepubs/009604499/functions/statvfs.html
return _statvfs(0, buf);
},
- __01statvfs64_: 'statvfs',
- __01fstatvfs64_: 'fstatvfs',
// ==========================================================================
// fcntl.h
@@ -1568,11 +1559,6 @@ LibraryManager.library = {
open64: 'open',
lseek64: 'lseek',
ftruncate64: 'ftruncate',
- __01open64_: 'open',
- __01lseek64_: 'lseek',
- __01truncate64_: 'truncate',
- __01ftruncate64_: 'ftruncate',
- // TODO: Check if any other aliases are needed.
// ==========================================================================
// stdio.h
@@ -2898,11 +2884,6 @@ LibraryManager.library = {
#endif
fopen64: 'fopen',
- __01fopen64_: 'fopen',
- __01freopen64_: 'freopen',
- __01fseeko64_: 'fseek',
- __01ftello64_: 'ftell',
- __01tmpfile64_: 'tmpfile',
__isoc99_fscanf: 'fscanf',
// TODO: Check if any other aliases are needed.
_IO_getc: 'getc',
@@ -2950,7 +2931,6 @@ LibraryManager.library = {
_mmap.mappings[ptr] = { malloc: ptr, num: num, allocated: allocated };
return ptr;
},
- __01mmap64_: 'mmap',
munmap: function(start, num) {
if (!_mmap.mappings) _mmap.mappings = {};
@@ -6871,7 +6851,6 @@ LibraryManager.library = {
// int setrlimit(int resource, const struct rlimit *rlp)
return 0;
},
- __01getrlimit64_: 'getrlimit',
// TODO: Implement for real. We just do time used, and no useful data
getrusage: function(resource, rlp) {