X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Futmpx.h;h=0429014d854fc32d0355d4fe5a18db45c2c530fb;hb=c6a61df183104616ed3d4c68922752623545af16;hp=44b501d3e43957df445acf29d63c1e120bd72e69;hpb=692b16d14b913676567be82a56211adc250793c7;p=musl diff --git a/include/utmpx.h b/include/utmpx.h index 44b501d3..0429014d 100644 --- a/include/utmpx.h +++ b/include/utmpx.h @@ -14,8 +14,7 @@ extern "C" { #include -struct utmpx -{ +struct utmpx { short ut_type; pid_t ut_pid; char ut_line[32]; @@ -39,7 +38,7 @@ struct utmpx *getutxline(const struct utmpx *); struct utmpx *pututxline(const struct utmpx *); void setutxent(void); -#if defined(_BSD_SOURCE) | defined(_GNU_SOURCE) +#if defined(_BSD_SOURCE) || defined(_GNU_SOURCE) #define e_exit __e_exit #define e_termination __e_termination void updwtmpx(const char *, const struct utmpx *);