]> arthur.barton.de Git - ngircd.git/commit
Fix two K&R C portability issues
authorAlexander Barton <alex@barton.de>
Sun, 16 Mar 2014 19:07:08 +0000 (20:07 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 19 Mar 2014 01:30:22 +0000 (02:30 +0100)
commitc0c9b1b8ac45a6c048ba0605af020fb489ea8a2a
treeb5e2e744cab7c7b38e37322e5a06b42e7c7d72c8
parent1d3137ff69750eb96138cb2799db098c4d8a67b7
Fix two K&R C portability issues

Fix the following two errors emitted by the Apple K&R C compiler
on Apple A/UX:

"./class.c", line 47: no automatic aggregate initialization
"./class.c", line 47: illegal lhs of assignment operator

"./conf.c", line 1052: syntax error

Tested on A/UX 3.1.1.

(cherry picked from commit a4ed90ba9af1dce4df3f57f6a7c84097000c7256)
src/ngircd/class.c
src/ngircd/conf.c