diff options
author | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:59:20 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-02-20 20:59:20 +0000 |
commit | 6aac6c7a814ee32d136af1e23da6a56ed2192b4e (patch) | |
tree | 80bf1772b9228e9eae630377340ac0b817b5651b /comms/plp | |
parent | The Alpha's fpsetmask(3) routine doesn't have a FP_X_DNML bit, so remove it (diff) |
The one and only argument to gmtime(3) is a time_t*. This fixes the build
problems on the Alpha.
Notes
Notes:
svn path=/head/; revision=26059
Diffstat (limited to 'comms/plp')
-rw-r--r-- | comms/plp/files/patch-af | 11 | ||||
-rw-r--r-- | comms/plp/files/patch-ag | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/comms/plp/files/patch-af b/comms/plp/files/patch-af new file mode 100644 index 000000000000..e42b857c7815 --- /dev/null +++ b/comms/plp/files/patch-af @@ -0,0 +1,11 @@ +--- rfsv/rfsv16.cc.orig Sat Feb 19 21:10:24 2000 ++++ rfsv/rfsv16.cc Sat Feb 19 21:11:09 2000 +@@ -134,7 +134,7 @@ + { + char dateBuff[100]; + struct tm *t; +- t = gmtime(&date); ++ t = gmtime((time_t *)&date); + strftime(dateBuff, 100, "%d/%m/%y %H:%M:%S", t); + cout << " " << dateBuff; + } diff --git a/comms/plp/files/patch-ag b/comms/plp/files/patch-ag new file mode 100644 index 000000000000..b64ad518f9cf --- /dev/null +++ b/comms/plp/files/patch-ag @@ -0,0 +1,11 @@ +--- rfsv/rfsv32.cc.orig Sat Feb 19 21:12:22 2000 ++++ rfsv/rfsv32.cc Sat Feb 19 21:12:35 2000 +@@ -186,7 +186,7 @@ + long date = us; + char dateBuff[100]; + struct tm *t; +- t = gmtime(&date); ++ t = gmtime((time_t *)&date); + strftime(dateBuff, 100, "%d/%m/%y %H:%M:%S", t); + cout << " " << dateBuff; + } |