Browse Source

ZOOKEEPER-227. gcc warning from recordio.h (chris darroch via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@719066 13f79535-47bb-0310-9956-ffa450edef68
Mahadev Konar 16 năm trước cách đây
mục cha
commit
b4051a04e1
2 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 2 0
      CHANGES.txt
  2. 1 1
      src/c/include/recordio.h

+ 2 - 0
CHANGES.txt

@@ -37,6 +37,8 @@ to the server (ben via mahadev)
 causing crashes when multiple instances are active. (austin shoemaker, chris
 daroch and ben reed via mahadev) 
 
+   ZOOKEEPER-227. gcc warning from recordio.h (chris darroch via mahadev)
+
 Release 3.0.0 - 2008-10-21
 
 Non-backward compatible changes:

+ 1 - 1
src/c/include/recordio.h

@@ -60,7 +60,7 @@ struct oarchive {
     void *priv;
 };
 
-struct oarchive *create_buffer_oarchive();
+struct oarchive *create_buffer_oarchive(void);
 void close_buffer_oarchive(struct oarchive **oa, int free_buffer);
 struct iarchive *create_buffer_iarchive(char *buffer, int len);
 void close_buffer_iarchive(struct iarchive **ia);