projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(decoding_table_remove_char): Change arguments to hide decoding_table
[chise/xemacs-chise.git-]
/
src
/
gmalloc.c
diff --git
a/src/gmalloc.c
b/src/gmalloc.c
index
dd0f948
..
a65e78e
100644
(file)
--- a/
src/gmalloc.c
+++ b/
src/gmalloc.c
@@
-1232,23
+1232,9
@@
extern __ptr_t __sbrk __P ((int increment));
and return the start of data space, or NULL on errors.
If INCREMENT is negative, shrink data space. */
__ptr_t
and return the start of data space, or NULL on errors.
If INCREMENT is negative, shrink data space. */
__ptr_t
-__default_morecore (
-#ifdef __STDC__
- ptrdiff_t increment
-#else
-#ifdef OSF1
- long increment
-#else
- int increment
-#endif
-#endif
- )
+__default_morecore (ptrdiff_t increment)
{
{
-#ifdef OSF1
- __ptr_t result = (__ptr_t) __sbrk ((ssize_t) increment);
-#else
- __ptr_t result = (__ptr_t) __sbrk ((int) increment);
-#endif
+ __ptr_t result = (__ptr_t) __sbrk (increment);
if (result == (__ptr_t) -1)
return NULL;
return result;
if (result == (__ptr_t) -1)
return NULL;
return result;