diff options
| author | Jesse Barnes <jbarnes@engr.sgi.com> | 2005-03-15 03:36:55 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-15 03:36:55 -0800 |
| commit | 2713c436910e9b9a5607b7435df5a01accef28d1 (patch) | |
| tree | ba37a8a616a28452621f1fcb29a6a8822319b38c /net/unix/af_unix.c | |
| parent | 98fc640fc3dd280c712bb4c77141f599d2f83d00 (diff) | |
[PATCH] gcc4 fix for sn_serial.c
The sal_console and sal_console_uart structures have a circular
relationship since they both initialize member fields to pointers of one
another. The current code forward declares sal_console_uart as extern so
that sal_console can take its address, but gcc4 complains about this since
the real definition of sal_console_uart is marked 'static'. This patch
just removes the static qualifier from sal_console_uart to avoid the
inconsistency.
Signed-off-by: Jesse Barnes <jbarnes@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
