Browse Source

libdpkg: Make subproc_wait() and subproc_check() private

Guillem Jover 12 years ago
parent
commit
f7be86add2
3 changed files with 2 additions and 6 deletions
  1. 0 2
      lib/dpkg/libdpkg.map
  2. 2 2
      lib/dpkg/subproc.c
  3. 0 2
      lib/dpkg/subproc.h

+ 0 - 2
lib/dpkg/libdpkg.map

@@ -134,8 +134,6 @@ LIBDPKG_PRIVATE {
 	subproc_signals_setup;
 	subproc_signals_cleanup;
 	subproc_fork;
-	subproc_wait;
-	subproc_check;
 	subproc_wait_check;
 
 	command_init;

+ 2 - 2
lib/dpkg/subproc.c

@@ -98,7 +98,7 @@ subproc_fork(void)
 	return pid;
 }
 
-int
+static int
 subproc_check(int status, const char *desc, int flags)
 {
 	void (*out)(const char *fmt, ...) DPKG_ATTR_PRINTF(1);
@@ -138,7 +138,7 @@ subproc_check(int status, const char *desc, int flags)
 	return -1;
 }
 
-int
+static int
 subproc_wait(pid_t pid, const char *desc)
 {
 	pid_t dead_pid;

+ 0 - 2
lib/dpkg/subproc.h

@@ -42,8 +42,6 @@ void subproc_signals_cleanup(int argc, void **argv);
 #define PROCNOCHECK 8
 
 pid_t subproc_fork(void);
-int subproc_wait(pid_t pid, const char *desc);
-int subproc_check(int status, const char *desc, int flags);
 int subproc_wait_check(pid_t pid, const char *desc, int flags);
 
 /** @} */