]> git.tuebingen.mpg.de Git - paraslash.git/commit
__aligned is already defined on NetBSD.
authorAndre Noll <maan@systemlinux.org>
Mon, 21 Dec 2009 18:21:13 +0000 (19:21 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 21 Dec 2009 18:21:13 +0000 (19:21 +0100)
commit18483260c9f20ed4a79a9aa146d46e81b99c3e6e
treefafa74d506889d0e8ad9902f5b6432f5df821c63
parent9f7aecdbca21d6cadfe36ac46f6f0dada92ce8f2
__aligned is already defined on NetBSD.

Use __a_aligned in analogy to __a_unused which was introduced since __unused is
already defined on MacOS. This fixes the warning

gcc-compat.h:5:1: warning: "__aligned" redefined
In file included from /usr/include/regex.h:77,
 from daemon.c:9:
/usr/include/sys/cdefs.h:202:1: warning: this is the location of the previous definition

on NetBSD and has the additional advantage that it keeps working even if the
NetBSD people decide to redefine __aligned.
gcc-compat.h
imdct.c
wmadec_filter.c