aboutsummaryrefslogtreecommitdiffstats
path: root/src/framebuffer.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-06 08:30:25 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-06 08:30:25 +0200
commit98684a0cccadf6644a47859e38386d8b1cd26df0 (patch)
treed7f78e790d30421972934cc42324b0f9cc3034b1 /src/framebuffer.h
parentframebuffer.c: line drawing (diff)
downloadcrt-calibrator-98684a0cccadf6644a47859e38386d8b1cd26df0.tar.gz
crt-calibrator-98684a0cccadf6644a47859e38386d8b1cd26df0.tar.bz2
crt-calibrator-98684a0cccadf6644a47859e38386d8b1cd26df0.tar.xz
m + beginning of gamma
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/framebuffer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/framebuffer.h b/src/framebuffer.h
index 7ef1fed..f6b99ea 100644
--- a/src/framebuffer.h
+++ b/src/framebuffer.h
@@ -15,8 +15,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CRT_CALIBRATOR_H
-#define CRT_CALIBRATOR_H
+#ifndef CRT_CALIBRATOR_FRAMEBUFFER_H
+#define CRT_CALIBRATOR_FRAMEBUFFER_H
#include <stddef.h>
@@ -29,7 +29,7 @@
typedef struct framebuffer
{
/**
- * The file descriptor used to access the framebuffer, 0 if not opened
+ * The file descriptor used to access the framebuffer, -1 if not opened
*/
int fd;
@@ -72,7 +72,7 @@ size_t fb_count(void);
* Open a framebuffer
*
* @param index The index of the framebuffer to open
- * @param fb Framevuffer information to fill in
+ * @param fb Framebuffer information to fill in
* @return Zero on success, -1 on error
*/
int fb_open(size_t index, framebuffer_t* restrict fb);