]> git.armaanb.net Git - opendoas.git/blobdiff - includes.h
libopenbsd: define __dead as noreturn
[opendoas.git] / includes.h
index d3d4e390a2a10c59508e5bc859dac3aa4ceb8963..401a0e4f22d28fba3dd969bb38b69bb3ab8554cc 100644 (file)
@@ -1,14 +1,6 @@
 #ifndef INCLUDES_H
 #define INCLUDES_H
 
-#ifndef __UNUSED
-# define __UNUSED __attribute__ ((unused))
-#endif
-
-#ifndef __dead
-# define __dead
-#endif
-
 #ifndef _PATH_TTY
 # define _PATH_TTY "/dev/tty"
 #endif
@@ -17,7 +9,7 @@
 #include "openbsd.h"
 
 #ifdef USE_PAM
-int pamauth(const char *, const char *, int, int);
+void pamauth(const char *, const char *, int, int, int);
 #endif
 
 #ifdef USE_SHADOW