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

dselect: Remove bogus falliblesubprocess prototype and make it static

Guillem Jover лет назад: 16
Родитель
Сommit
d6e92c09b5
2 измененных файлов с 1 добавлено и 4 удалено
  1. 0 3
      dselect/dselect.h
  2. 1 1
      dselect/method.cc

+ 0 - 3
dselect/dselect.h

@@ -179,7 +179,4 @@ typedef urqresult urqfunction(void);
 urqfunction urq_list, urq_quit, urq_menu;
 urqfunction urq_setup, urq_update, urq_install, urq_config, urq_remove;
 
-urqresult falliblesubprocess(const char *exepath, const char *name,
-                             const char *const *args);
-
 #endif /* DSELECT_H */

+ 1 - 1
dselect/method.cc

@@ -136,7 +136,7 @@ static enum urqresult lockmethod(void) {
   return urqr_normal;
 }
 
-urqresult
+static urqresult
 falliblesubprocess(struct command *cmd)
 {
   pid_t c1;