Просмотр исходного кода

libdpkg: Make dir_sync() private

Guillem Jover лет назад: 15
Родитель
Сommit
ae3500585c
3 измененных файлов с 1 добавлено и 3 удалено
  1. 1 1
      lib/dpkg/dir.c
  2. 0 1
      lib/dpkg/dir.h
  3. 0 1
      lib/dpkg/libdpkg.Versions

+ 1 - 1
lib/dpkg/dir.c

@@ -40,7 +40,7 @@
  * @param dir The directory to sync.
  * @param path The name of the directory to sync (for error messages).
  */
-void
+static void
 dir_sync(DIR *dir, const char *path)
 {
 	int fd;

+ 0 - 1
lib/dpkg/dir.h

@@ -27,7 +27,6 @@
 
 DPKG_BEGIN_DECLS
 
-void dir_sync(DIR *dir, const char *path);
 void dir_sync_path(const char *path);
 void dir_sync_path_parent(const char *path);
 void dir_sync_contents(const char *path);

+ 0 - 1
lib/dpkg/libdpkg.Versions

@@ -77,7 +77,6 @@ LIBDPKG_PRIVATE {
 	path_make_temp_template;
 	path_quote_filename;
 
-	dir_sync;
 	dir_sync_path;
 	dir_sync_contents;