소스 검색

const attribute here makes GCC complain even though it's intended.

Bryan Drewery 7 년 전
부모
커밋
8a60488c0b
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      src/dcc.cc
  2. 0 1
      src/mod/transfer.mod/transfer.cc

+ 0 - 1
src/dcc.cc

@@ -1998,7 +1998,6 @@ struct dcc_table DCC_SOCKET = {
 };
 
 static void
-__attribute__((const))
 dcc_identwait(int idx, char *buf, int len)
 {
   /* Ignore anything now */

+ 0 - 1
src/mod/transfer.mod/transfer.cc

@@ -650,7 +650,6 @@ static void kill_dcc_xfer(int idx, void *x)
 }
 
 static void
-__attribute__((const))
 out_dcc_xfer(int idx, char *buf, void *x)
 {
 }