X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Futmp-wtmp.h;h=040a16e7465f8792440a7ad6d98c5e5fe797e1ab;hp=ab950617a1a1104a8913dd78d4fec63a1faf1fe6;hb=f7f628b5db770feb8b18990436baefaec55c460b;hpb=f33d3ec1d7521c91da8b30ad5cb345d6416bb07d diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h index ab950617a..040a16e74 100644 --- a/src/shared/utmp-wtmp.h +++ b/src/shared/utmp-wtmp.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooutmpwtmphfoo -#define fooutmpwtmphfoo +#pragma once /*** This file is part of systemd. @@ -33,6 +32,4 @@ int utmp_put_runlevel(int runlevel, int previous); int utmp_put_dead_process(const char *id, pid_t pid, int code, int status); int utmp_put_init_process(const char *id, pid_t pid, pid_t sid, const char *line); -int utmp_wall(const char *message, bool (*match_tty)(const char *tty)); - -#endif +int utmp_wall(const char *message, const char *username, bool (*match_tty)(const char *tty));