summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-09-06 15:19:24 -0400
committerJune McEnroe <programble@gmail.com>2017-09-06 15:19:24 -0400
commit5cec10630aa2fbe6f21d6576587f97f784d3a819 (patch)
treedf4ab98640210b38f6122942b2c05997415388d6
parentFix bin/Makefile FreeBSD compatibility (diff)
downloadsrc-5cec10630aa2fbe6f21d6576587f97f784d3a819.tar.gz
src-5cec10630aa2fbe6f21d6576587f97f784d3a819.zip
Move C file description comments
Comments are ugly this is why I don't put them in my code ;)
Diffstat (limited to '')
-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 f5dd5a5c..ce15cac7 100644
--- a/bin/bri.c
+++ b/bin/bri.c
@@ -1,6 +1,4 @@
-/* Backlight brightness control.
- *
- * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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 9be88a12..4714f748 100644
--- a/bin/dtch.c
+++ b/bin/dtch.c
@@ -1,6 +1,4 @@
-/* Session attach and detach.
- *
- * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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 1f079e8a..780e4bdb 100644
--- a/bin/hnel.c
+++ b/bin/hnel.c
@@ -1,6 +1,4 @@
-/* PTY wrapper for preserving HJKL in Tarmak layouts.
- *
- * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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 960696e1..049dc7d4 100644
--- a/bin/jrp.c
+++ b/bin/jrp.c
@@ -1,6 +1,4 @@
-/* JIT RPN calculator.
- *
- * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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 efc6000b..be3d95a0 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, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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 42b3022f..d0eac284 100644
--- a/bin/wake.c
+++ b/bin/wake.c
@@ -1,6 +1,4 @@
-/* Wake-on-LAN.
- *
- * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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 4b1bfb4d..bb432815 100644
--- a/bin/watch.c
+++ b/bin/watch.c
@@ -1,6 +1,4 @@
-/* Execute a command each time files change.
- *
- * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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 edd5366b..6a83ff30 100644
--- a/bin/xx.c
+++ b/bin/xx.c
@@ -1,6 +1,4 @@
-/* Hexdump.
- *
- * Copyright (c) 2017, Curtis McEnroe <programble@gmail.com>
+/* Copyright (c) 2017, Curtis 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>