Changeset c7ca28cf in rtems


Ignore:
Timestamp:
Nov 18, 1997, 10:32:55 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
91daf55
Parents:
ce41c5b
Message:

Removed warning under linux port.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/malloc.c

    rce41c5b rc7ca28cf  
    2727#include <errno.h>
    2828#include <string.h>
     29
     30/* for sbrk prototype in linux */
     31#if defined(linux)
     32#define __USE_MISC
     33#endif
    2934#include <unistd.h>    /* sbrk(2) */
    3035
  • c/src/lib/libc/malloc.c

    rce41c5b rc7ca28cf  
    2727#include <errno.h>
    2828#include <string.h>
     29
     30/* for sbrk prototype in linux */
     31#if defined(linux)
     32#define __USE_MISC
     33#endif
    2934#include <unistd.h>    /* sbrk(2) */
    3035
  • cpukit/libcsupport/src/malloc.c

    rce41c5b rc7ca28cf  
    2727#include <errno.h>
    2828#include <string.h>
     29
     30/* for sbrk prototype in linux */
     31#if defined(linux)
     32#define __USE_MISC
     33#endif
    2934#include <unistd.h>    /* sbrk(2) */
    3035
Note: See TracChangeset for help on using the changeset viewer.