[asterisk-commits] russell: branch group/chan_unistim r88163 - /team/group/chan_unistim/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 1 16:50:10 CDT 2007


Author: russell
Date: Thu Nov  1 16:50:09 2007
New Revision: 88163

URL: http://svn.digium.com/view/asterisk?view=rev&rev=88163
Log:
remove another typedef

Modified:
    team/group/chan_unistim/channels/chan_unistim.c

Modified: team/group/chan_unistim/channels/chan_unistim.c
URL: http://svn.digium.com/view/asterisk/team/group/chan_unistim/channels/chan_unistim.c?view=diff&rev=88163&r1=88162&r2=88163
==============================================================================
--- team/group/chan_unistim/channels/chan_unistim.c (original)
+++ team/group/chan_unistim/channels/chan_unistim.c Thu Nov  1 16:50:09 2007
@@ -340,7 +340,7 @@
 	unsigned char *buf;
 };
 
-typedef struct _SYSTEMTIME {
+struct systemtime {
 	unsigned short w_year;
 	unsigned short w_month;
 	unsigned short w_day_of_week;
@@ -349,7 +349,7 @@
 	unsigned short w_minute;
 	unsigned short w_second;
 	unsigned short w_milliseconds;
-} SYSTEMTIME;
+};
 
 struct unistim_subchannel {
 	ast_mutex_t lock;
@@ -700,7 +700,7 @@
 			lpMsgBuf);
 }
 
-static void GetLocalTime(SYSTEMTIME * systime)
+static void GetLocalTime(struct systemtime * systime)
 {
 	struct tm *stm;
 	time_t cur_time = time(0);
@@ -1379,7 +1379,7 @@
 static void SendDateTime(struct unistimsession *pte)
 {
 	BUFFSEND;
-	SYSTEMTIME systime;
+	struct systemtime systime;
 	systime.w_year = systime.w_month = systime.w_day_of_week = 0;
 	systime.w_day = systime.w_hour = systime.w_minute = 0;
 	systime.w_second = systime.w_milliseconds = 0;
@@ -1398,7 +1398,7 @@
 static void SendDateTime2(struct unistimsession *pte)
 {
 	BUFFSEND;
-	SYSTEMTIME systime;
+	struct systemtime systime;
 	systime.w_year = systime.w_month = systime.w_day_of_week = 0;
 	systime.w_day = systime.w_hour = systime.w_minute = 0;
 	systime.w_second = systime.w_milliseconds = 0;
@@ -1421,7 +1421,7 @@
 static void SendDateTime3(struct unistimsession *pte)
 {
 	BUFFSEND;
-	SYSTEMTIME systime;
+	struct systemtime systime;
 	systime.w_year = systime.w_month = systime.w_day_of_week = 0;
 	systime.w_day = systime.w_hour = systime.w_minute = 0;
 	systime.w_second = systime.w_milliseconds = 0;
@@ -1716,7 +1716,7 @@
 	char count = 0, *histbuf;
 	int size;
 	FILE *f, *f2;
-	SYSTEMTIME systime;
+	struct systemtime systime;
 	systime.w_year = systime.w_month = systime.w_day_of_week = 0;
 	systime.w_day = systime.w_hour = systime.w_minute = 0;
 	systime.w_second = systime.w_milliseconds = 0;




More information about the asterisk-commits mailing list