lchat

A line oriented chat front end for ii.
git clone git://git.suckless.org/lchat
Log | Files | Refs | README

commit f730489e0a632bd738ade1e91c85c6ffdad21ba8
parent 6d306ad60a3ed0d9e721a43fb121804974a41b6c
Author: Tom Schwindl <schwindl@posteo.de>
Date:   Wed, 11 Jan 2023 09:17:47 +0100

slackline: do not include slackline.h in slackline_internals.h

Although it's likely that slackline.h will be included alongside
slackline_internals.h, including headers in headers often results in confusion.

Diffstat:
Mslackline_emacs.c | 1+
Mslackline_internals.h | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/slackline_emacs.c b/slackline_emacs.c @@ -3,6 +3,7 @@ #include <stddef.h> #include <stdlib.h> +#include "slackline.h" #include "slackline_internals.h" void diff --git a/slackline_internals.h b/slackline_internals.h @@ -1,7 +1,7 @@ #ifndef SLACKLINE_INTERNALS_H #define SLACKLINE_INTERNALS_H -#include "slackline.h" +struct slackline; enum direction {LEFT, RIGHT, HOME, END};