aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2014-08-20 15:15:29 +0000
committerokan2014-08-20 15:15:29 +0000
commitbaef75bfc55b19ae2f4f1a5f09c82d35539d5637 (patch)
tree1781b9efc7f70975adf5efab5cc71169288c2032 /conf.c
parent081e6ab493c1cb965f3f03d6b55f2a24117e9290 (diff)
downloadcwm-baef75bfc55b19ae2f4f1a5f09c82d35539d5637.tar.gz
Purely mechanical; unify 'num', 'no' and 'shortcut'.
Diffstat (limited to '')
-rw-r--r--conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index fcf5844..0b254f2 100644
--- a/conf.c
+++ b/conf.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: conf.c,v 1.174 2014/08/19 18:39:41 okan Exp $
+ * $OpenBSD: conf.c,v 1.175 2014/08/20 15:15:29 okan Exp $
*/
#include <sys/param.h>
@@ -78,7 +78,7 @@ conf_cmd_remove(struct conf *c, const char *name)
}
}
void
-conf_autogroup(struct conf *c, int no, const char *val)
+conf_autogroup(struct conf *c, int num, const char *val)
{
struct autogroupwin *aw;
char *p;
@@ -93,7 +93,7 @@ conf_autogroup(struct conf *c, int no, const char *val)
aw->name = xstrdup(val);
aw->class = xstrdup(p);
}
- aw->num = no;
+ aw->num = num;
TAILQ_INSERT_TAIL(&c->autogroupq, aw, entry);
}