diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-02-02 22:46:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-02-02 22:46:37 +0000 |
commit | c0b0336f367e4628ed29311bfe389016b25ed8d2 (patch) | |
tree | b15c333740a24886e16dc662ddc4ba49e59d4259 /winsup/cygwin/include | |
parent | 6577c186c972ad4b75e4854c8c261f6cf34bf5cc (diff) | |
download | cygnal-c0b0336f367e4628ed29311bfe389016b25ed8d2.tar.gz cygnal-c0b0336f367e4628ed29311bfe389016b25ed8d2.tar.bz2 cygnal-c0b0336f367e4628ed29311bfe389016b25ed8d2.zip |
* cygwin.din (updwtmpx): Export.
* syscalls.cc (updwtmpx): New function.
* include/utmpx.h (updwtmpx): Declare.
* include/cygwin/version.h: Bump API minor number to 153.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 | ||||
-rw-r--r-- | winsup/cygwin/include/utmpx.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index f37d7cee3..33a59ecd3 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -285,12 +285,13 @@ details. */ 150: Export getsubopt. 151: Export __opendir_with_d_ino 152: Revert to having d_ino in dirent unconditionally. + 153: Export updwtmpx. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 152 +#define CYGWIN_VERSION_API_MINOR 153 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible diff --git a/winsup/cygwin/include/utmpx.h b/winsup/cygwin/include/utmpx.h index 8029f763c..2239a6353 100644 --- a/winsup/cygwin/include/utmpx.h +++ b/winsup/cygwin/include/utmpx.h @@ -47,6 +47,7 @@ extern struct utmpx *getutxline (const struct utmpx *line); extern struct utmpx *pututxline (const struct utmpx *utmpx); extern void setutxent (void); extern void utmpxname (const char *file); +extern void updwtmpx (const char *file, const struct utmpx *utmpx); #ifdef __cplusplus } |