aboutsummarylogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorAnselm R. Garbe2007-08-04 10:57:56 +0200
committerAnselm R. Garbe2007-08-04 10:57:56 +0200
commitf3d5cffa0e53d5613259f5401deff1183a24df2d (patch)
tree722bc40286358d988f6ae0ac167f62c5c9729253 /layout.c
parenteb16e80e2ace3cb48d13ee783f18cd2774ebf291 (diff)
downloadaur-f3d5cffa0e53d5613259f5401deff1183a24df2d.tar.gz
small fix of static function order
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/layout.c b/layout.c
index fa7b4ebe33a6..b475d35d12e4 100644
--- a/layout.c
+++ b/layout.c
@@ -13,24 +13,6 @@ static double vratio = VRATIO;
static unsigned int nlayouts = 0;
static unsigned int nmaster = NMASTER;
-static void
-incratio(const char *arg, double *ratio, double def) {
- double delta;
-
- if(lt->arrange != tile)
- return;
- if(!arg)
- *ratio = def;
- else {
- if(1 == sscanf(arg, "%lf", &delta)) {
- if(delta + (*ratio) < .1 || delta + (*ratio) > 1.9)
- return;
- *ratio += delta;
- }
- }
- lt->arrange();
-}
-
static double /* simple pow() */
spow(double x, double y)
{
@@ -110,6 +92,24 @@ tile(void) {
LAYOUTS
+static void
+incratio(const char *arg, double *ratio, double def) {
+ double delta;
+
+ if(lt->arrange != tile)
+ return;
+ if(!arg)
+ *ratio = def;
+ else {
+ if(1 == sscanf(arg, "%lf", &delta)) {
+ if(delta + (*ratio) < .1 || delta + (*ratio) > 1.9)
+ return;
+ *ratio += delta;
+ }
+ }
+ lt->arrange();
+}
+
/* extern */
void