summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-09-06 15:19:24 -0400
committerJune McEnroe <june@causal.agency>2017-09-06 15:19:24 -0400
commit524a992da1b98bb88a62efb3365365831eb91141 (patch)
treebcd1abb9dcd75dbbf4cbd54d492f742544a92837
parentFix bin/Makefile FreeBSD compatibility (diff)
downloadsrc-524a992da1b98bb88a62efb3365365831eb91141.tar.gz
src-524a992da1b98bb88a62efb3365365831eb91141.zip
Move C file description comments
Comments are ugly this is why I don't put them in my code ;)
-rw-r--r--bin/bri.c6
-rw-r--r--bin/dtch.c6
-rw-r--r--bin/hnel.c6
-rw-r--r--bin/jrp.c6
-rw-r--r--bin/pbd.c8
-rw-r--r--bin/wake.c6
-rw-r--r--bin/watch.c6
-rw-r--r--bin/xx.c6
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// Backlight brightness control.
+
 #include <dirent.h>
 #include <err.h>
 #include <errno.h>
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// Session attach and detach.
+
 #include <err.h>
 #include <errno.h>
 #include <fcntl.h>
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// PTY wrapper for preserving HJKL in Tarmak layouts.
+
 #include <err.h>
 #include <poll.h>
 #include <stdbool.h>
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// JIT RPN calculator.
+
 #include <err.h>
 #include <histedit.h>
 #include <stdbool.h>
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// TCP server which pipes between macOS pbcopy and pbpaste, and pbcopy and
+// pbpaste implementations which connect to it.
+
 #include <arpa/inet.h>
 #include <err.h>
 #include <netinet/in.h>
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// Wake-on-LAN.
+
 #include <err.h>
 #include <netinet/in.h>
 #include <stdint.h>
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// Execute a command each time files change.
+
 #include <sys/types.h>
 
 #include <err.h>
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 <programble@gmail.com>
+/* Copyright (c) 2017, June McEnroe <programble@gmail.com>
  *
  * 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 <http://www.gnu.org/licenses/>.
  */
 
+// Hexdump.
+
 #include <ctype.h>
 #include <err.h>
 #include <stdbool.h>