Skip to content

Commit

Permalink
Use namespace visibility macros instead of checking for _POSIX_SOURCE.
Browse files Browse the repository at this point in the history
  • Loading branch information
das authored and das committed Mar 14, 2009
1 parent f960eed commit e63fa4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/sys/termios.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@ int tcsendbreak(int, int);
pid_t tcgetsid(int);
#endif

#ifndef _POSIX_SOURCE
#if __BSD_VISIBLE
void cfmakeraw(struct termios *);
int cfsetspeed(struct termios *, speed_t);
#endif /* !_POSIX_SOURCE */
#endif
__END_DECLS

#endif /* !_KERNEL */
Expand Down

0 comments on commit e63fa4c

Please sign in to comment.