]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - pak.c
Rework some build stuff for better output and to enable strict prototypes
[xonotic/gmqcc.git] / pak.c
diff --git a/pak.c b/pak.c
index 4bf7e5f423f4f96666b72009ec5f1f7763b062d9..f2f2252d4fd615fdd440ff4358dbe7e1e6c0b546 100644 (file)
--- a/pak.c
+++ b/pak.c
@@ -396,7 +396,8 @@ err:
  * Like pak_insert_one, except this collects files in all directories
  * from a root directory, and inserts them all.
  */
-bool pak_insert_all(pak_file_t *pak, const char *dir) {
+#if 0
+static bool pak_insert_all(pak_file_t *pak, const char *dir) {
     DIR           *dp;
     struct dirent *dirp;
 
@@ -416,6 +417,7 @@ bool pak_insert_all(pak_file_t *pak, const char *dir) {
     fs_dir_close(dp);
     return true;
 }
+#endif /*!if 0 renable when ready to use */
 
 static bool pak_close(pak_file_t *pak) {
     size_t itr;