projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
under _ANSI_SOURCE or __STRICT_ANSI__, hide away off_t details
[unix-history]
/
usr
/
src
/
include
/
utmp.h
diff --git
a/usr/src/include/utmp.h
b/usr/src/include/utmp.h
index
131edd6
..
0d54f84
100644
(file)
--- a/
usr/src/include/utmp.h
+++ b/
usr/src/include/utmp.h
@@
-4,9
+4,12
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)utmp.h 5.1
0
(Berkeley) %G%
+ * @(#)utmp.h 5.1
1
(Berkeley) %G%
*/
*/
+#ifndef _UTMP_H_
+#define _UTMP_H_
+
#define _PATH_UTMP "/var/run/utmp"
#define _PATH_WTMP "/var/log/wtmp"
#define _PATH_LASTLOG "/var/log/lastlog"
#define _PATH_UTMP "/var/run/utmp"
#define _PATH_WTMP "/var/log/wtmp"
#define _PATH_LASTLOG "/var/log/lastlog"
@@
-27,3
+30,5
@@
struct utmp {
char ut_host[UT_HOSTSIZE];
long ut_time;
};
char ut_host[UT_HOSTSIZE];
long ut_time;
};
+
+#endif /* !_UTMP_H_ */