poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug Other/26976] New: Include stdlib.h, not malloc.h


From: comexk at gmail dot com
Subject: [Bug Other/26976] New: Include stdlib.h, not malloc.h
Date: Sun, 29 Nov 2020 19:36:33 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26976

            Bug ID: 26976
           Summary: Include stdlib.h, not malloc.h
           Product: poke
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Other
          Assignee: unassigned at sourceware dot org
          Reporter: comexk at gmail dot com
                CC: poke-devel at gnu dot org
  Target Milestone: ---

libpoke/ios-buffer.c and libpoke/ios-dev-stream.c include <malloc.h> just to
use standard C allocation functions.  This header is nonstandard and not
available on some platforms.  Please include <stdlib.h> instead.

(See also:
https://stackoverflow.com/questions/12973311/difference-between-stdlib-h-and-malloc-h)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]