diff options
author | Gary Wong <gtw@gnu.org> | 2009-09-11 23:06:39 -0600 |
---|---|---|
committer | Gary Wong <gtw@gnu.org> | 2009-09-11 23:06:39 -0600 |
commit | d51ca09b1e85c78df4f0490b7c1ffbf3e6034bed (patch) | |
tree | 382bdf793d4cb37ba36e96643c8ba1fe7e2bc97d /window-table.c | |
parent | d4d66325598a872099c946de60855f991c588142 (diff) |
Move initialisation code into its own section, if supported by the linker.
Diffstat (limited to 'window-table.c')
-rw-r--r-- | window-table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-table.c b/window-table.c index 2f8f575..fb71d86 100644 --- a/window-table.c +++ b/window-table.c @@ -40,7 +40,7 @@ struct window_table windows, update_windows; -extern void table_init( struct window_table *table ) { +extern INIT void table_init( struct window_table *table ) { table->used = 0; table->n = 32; @@ -363,7 +363,7 @@ extern struct gwm_window *lookup_window( xcb_window_t w ) { struct window_stack window_stack; -extern void stack_init( struct window_stack *stack ) { +extern INIT void stack_init( struct window_stack *stack ) { stack->used = 0; stack->n = 32; |