[ttssh2-commit] [9370] const static を static const に変更

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 8月 15日 (日) 22:14:44 JST


Revision: 9370
          https://osdn.net/projects/ttssh2/scm/svn/commits/9370
Author:   zmatsuo
Date:     2021-08-15 22:14:44 +0900 (Sun, 15 Aug 2021)
Log Message:
-----------
const static を static const に変更

- warning: 'static' is not at beginning of declaration

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/fwdui.c

-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/fwdui.c
===================================================================
--- trunk/ttssh2/ttxssh/fwdui.c	2021-08-15 13:14:33 UTC (rev 9369)
+++ trunk/ttssh2/ttxssh/fwdui.c	2021-08-15 13:14:44 UTC (rev 9370)
@@ -498,7 +498,7 @@
 	FWDRequestSpec *requests =
 		(FWDRequestSpec *) malloc(sizeof(FWDRequestSpec) * num_specs);
 	int i;
-	const static DlgTextInfo text_info[] = {
+	static const DlgTextInfo text_info[] = {
 		{ 0, "DLG_FWD_TITLE" },
 		{ IDC_PORTFORWARD, "DLG_FWDSETUP_LIST" },
 		{ IDC_ADD, "DLG_FWDSETUP_ADD" },
@@ -785,7 +785,7 @@
 
 static void init_fwd_edit_dlg(PTInstVar pvar, FWDRequestSpec *spec, HWND dlg)
 {
-	const static DlgTextInfo text_info[] = {
+	static const DlgTextInfo text_info[] = {
 		{ 0, "DLG_FWD_TITLE" },
 		{ IDD_SSHFWDBANNER, "DLG_FWD_BANNER" },
 		{ IDC_SSHFWDLOCALTOREMOTE, "DLG_FWD_LOCAL_PORT" },


ttssh2-commit メーリングリストの案内
Back to archive index