From 524a992da1b98bb88a62efb3365365831eb91141 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 6 Sep 2017 15:19:24 -0400 Subject: Move C file description comments Comments are ugly this is why I don't put them in my code ;) --- bin/bri.c | 6 +++--- bin/dtch.c | 6 +++--- bin/hnel.c | 6 +++--- bin/jrp.c | 6 +++--- bin/pbd.c | 8 ++++---- bin/wake.c | 6 +++--- bin/watch.c | 6 +++--- bin/xx.c | 6 +++--- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/bin/bri.c b/bin/bri.c index 5760c0cd..45c937e9 100644 --- a/bin/bri.c +++ b/bin/bri.c @@ -1,6 +1,4 @@ -/* Backlight brightness control. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,6 +14,8 @@ * along with this program. If not, see . */ +// Backlight brightness control. + #include #include #include diff --git a/bin/dtch.c b/bin/dtch.c index 74719fba..c530c146 100644 --- a/bin/dtch.c +++ b/bin/dtch.c @@ -1,6 +1,4 @@ -/* Session attach and detach. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,6 +14,8 @@ * along with this program. If not, see . */ +// Session attach and detach. + #include #include #include diff --git a/bin/hnel.c b/bin/hnel.c index 03b8c7a8..0a0e52fa 100644 --- a/bin/hnel.c +++ b/bin/hnel.c @@ -1,6 +1,4 @@ -/* PTY wrapper for preserving HJKL in Tarmak layouts. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,6 +14,8 @@ * along with this program. If not, see . */ +// PTY wrapper for preserving HJKL in Tarmak layouts. + #include #include #include diff --git a/bin/jrp.c b/bin/jrp.c index 9fa3dcc1..f6f763d6 100644 --- a/bin/jrp.c +++ b/bin/jrp.c @@ -1,6 +1,4 @@ -/* JIT RPN calculator. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,6 +14,8 @@ * along with this program. If not, see . */ +// JIT RPN calculator. + #include #include #include diff --git a/bin/pbd.c b/bin/pbd.c index fcc5d2cf..4b4969a5 100644 --- a/bin/pbd.c +++ b/bin/pbd.c @@ -1,7 +1,4 @@ -/* TCP server which pipes between macOS pbcopy and pbpaste, and pbcopy and - * pbpaste implementations which connect to it. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -17,6 +14,9 @@ * along with this program. If not, see . */ +// TCP server which pipes between macOS pbcopy and pbpaste, and pbcopy and +// pbpaste implementations which connect to it. + #include #include #include diff --git a/bin/wake.c b/bin/wake.c index 07a2ef37..c1100994 100644 --- a/bin/wake.c +++ b/bin/wake.c @@ -1,6 +1,4 @@ -/* Wake-on-LAN. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,6 +14,8 @@ * along with this program. If not, see . */ +// Wake-on-LAN. + #include #include #include diff --git a/bin/watch.c b/bin/watch.c index 22bd5197..3200f548 100644 --- a/bin/watch.c +++ b/bin/watch.c @@ -1,6 +1,4 @@ -/* Execute a command each time files change. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,6 +14,8 @@ * along with this program. If not, see . */ +// Execute a command each time files change. + #include #include diff --git a/bin/xx.c b/bin/xx.c index e1e31e4a..645162f1 100644 --- a/bin/xx.c +++ b/bin/xx.c @@ -1,6 +1,4 @@ -/* Hexdump. - * - * Copyright (c) 2017, June McEnroe +/* Copyright (c) 2017, June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by @@ -16,6 +14,8 @@ * along with this program. If not, see . */ +// Hexdump. + #include #include #include -- cgit 1.4.1