summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-04-07 03:07:35 +0200
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2013-04-07 03:47:28 +0200
commitc65e1dc8d80c023e1d0af957532fe23e2628a143 (patch)
treef6907a4ffb67adf1cc78325f20530f08a791857e /src/main.c
parentb4149b1b51fd94e0c044a42cc32c2a3bde274e84 (diff)
downloadratpoison-c65e1dc8d80c023e1d0af957532fe23e2628a143.zip
Don't use a flexible array member in struct history_item
* They are a c99 feature, which makes it impossible to build ratpoison on some platforms. GCC supports zero-sized arrays, more conservative approaches say to use foo[1], but as brlink says a compiler with aggressive optimization turned on might play nasty tricks. Just use a traditional struct.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions