]> git.armaanb.net Git - opendoas.git/blobdiff - doas.h
Handle empty argv
[opendoas.git] / doas.h
diff --git a/doas.h b/doas.h
index b1fbac089eebd7b85ddca551ab6de2d9f7dad2dd..ecf0db222f7fc5101c940fdf39c02517429c9ad8 100644 (file)
--- a/doas.h
+++ b/doas.h
@@ -45,13 +45,7 @@ char **prepenv(const struct rule *, const struct passwd *,
 #define NOLOG          0x8
 #define INSULT         0x10
 
-#ifdef USE_PAM
-int pamauth(const char *, const char *, int, int, int);
-#endif
-
-#ifdef USE_SHADOW
 int shadowauth(const char *, int);
-#endif
 
 #ifdef USE_TIMESTAMP
 int timestamp_open(int *, int);