diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2016-10-23 21:13:04 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2020-07-14 15:52:34 +0200 |
commit | 57a7d9166ba388c8396eb2824ed8df075c73ecad (patch) | |
tree | 2e4816d099f151da40954630c7dca6eb73c1e33f /include/dm.h | |
parent | e5faba0b8470f968f794812c73063ffd256129f4 (diff) |
Mark some functions as __dead
Diffstat (limited to 'include/dm.h')
-rw-r--r-- | include/dm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dm.h b/include/dm.h index fd1e022..85ae15b 100644 --- a/include/dm.h +++ b/include/dm.h @@ -304,9 +304,9 @@ extern int source (char **environ, char *file); extern void ClearCloseOnFork (int fd); extern void DeleteXloginResources (struct display *d, Display *dpy); extern void LoadXloginResources (struct display *d); -extern void ManageSession (struct display *d); +extern __dead void ManageSession (struct display *d); extern void SecureDisplay (struct display *d, Display *dpy); -extern void SessionExit (struct display *d, int status, int removeAuth); +extern __dead void SessionExit (struct display *d, int status, int removeAuth); extern void SessionPingFailed (struct display *d); extern void SetupDisplay (struct display *d); extern void UnsecureDisplay (struct display *d, Display *dpy); |