Переглянути джерело

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)
 {
 }