summaryrefslogtreecommitdiffstats
path: root/daemon/utmpd/utmpserver2.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 00:35:40 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 00:35:40 +0800
commite4d40cffe1660427a8883fd426000b666ea44ed3 (patch)
tree93e6f95c4dd4072266548427db3947169d16a5f4 /daemon/utmpd/utmpserver2.c
parentb4649e5a7aea67f478b16232adbe84ec72d0da07 (diff)
downloadpttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.gz
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.bz2
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.lz
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.xz
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.tar.zst
pttbbs-e4d40cffe1660427a8883fd426000b666ea44ed3.zip
* move structure used in UTMPD mode to daemons.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4690 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon/utmpd/utmpserver2.c')
-rw-r--r--daemon/utmpd/utmpserver2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/utmpd/utmpserver2.c b/daemon/utmpd/utmpserver2.c
index ce79c0c7..6c375823 100644
--- a/daemon/utmpd/utmpserver2.c
+++ b/daemon/utmpd/utmpserver2.c
@@ -3,6 +3,7 @@
#include <sys/time.h>
#include "bbs.h"
+#include "daemons.h"
extern void utmplogin(int uid, int index, const int like[MAX_FRIEND], const int hate[MAX_REJECT]);
extern int genfriendlist(int uid, int index, ocfs_t *fs, int maxfs);