[nas] [PATCH] Fix warnings about 'free' in nasd on GNU/Linux x86

Erik Auerswald auerswal at unix-ag.uni-kl.de
Fri Aug 16 06:33:50 MDT 2013


Hi,

the attached patch fixes the following warnings about 'free' when
compiling NAS on GNU/Linux x86 (32 bit):

---8<---
uevents.c: In function ‘ProcessAudioEvents’:
auevents.c:149: warning: incompatible implicit declaration of built-in function ‘free’
auevents.c: In function ‘AuDequeueEvents’:
auevents.c:249: warning: incompatible implicit declaration of built-in function ‘free’
connection.c: In function ‘open_unix_socket’:
connection.c:585: warning: incompatible implicit declaration of built-in function ‘free’
connection.c:608: warning: incompatible implicit declaration of built-in function ‘free’
---8<---

Please review and test the changes. Testing on different operating systems
and/or different architectures would be nice.

I intend to apply the patch over the weekend unless somebody objects. :-)

Cheers,
Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nasd-fix_warnings_on_Linux_x86.patch
Type: text/x-diff
Size: 1151 bytes
Desc: not available
URL: <http://radscan.com/pipermail/nas/attachments/20130816/0217e0ca/attachment.patch>


More information about the nas mailing list