summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-11 01:41:45 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-02-11 01:41:45 +0800
commit21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db (patch)
tree028cfb28e049768434832fd6c9301278be03cdab /include
parent60e0f10f5a60bac35a3de3697e957319e7b5ddc1 (diff)
downloadpttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar
pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.gz
pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.bz2
pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.lz
pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.xz
pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.tar.zst
pttbbs-21ff1ecf3d29680e3d26113eb7caf9f55f0ba5db.zip
lazy sort utmp
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@653 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 12054171..898d4447 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -1,4 +1,4 @@
-/* $Id: pttstruct.h,v 1.28 2003/01/24 14:41:19 in2 Exp $ */
+/* $Id: pttstruct.h,v 1.29 2003/02/10 17:41:45 in2 Exp $ */
#ifndef INCLUDE_STRUCT_H
#define INCLUDE_STRUCT_H
@@ -313,7 +313,9 @@ typedef struct {
int currsorted;
time_t UTMPuptime;
int UTMPnumber;
- int UTMPbusystate;
+ char UTMPneedsort;
+ char UTMPbusystate;
+ char pad[2];
char gap[1024]; /* avoid some memory error / buffer overflow */
/* brdshm */