mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-03 07:45:47 +00:00
Mark main() public to silence a warning on HP-UX.
This commit is contained in:
@@ -46,6 +46,8 @@
|
|||||||
|
|
||||||
static void sudo_conf_dump(void);
|
static void sudo_conf_dump(void);
|
||||||
|
|
||||||
|
__dso_public int main(int argc, char *argv[]);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Simple test driver for sudo_conf().
|
* Simple test driver for sudo_conf().
|
||||||
* Parses the given configuration file and dumps the resulting
|
* Parses the given configuration file and dumps the resulting
|
||||||
|
@@ -44,6 +44,8 @@
|
|||||||
#include "missing.h"
|
#include "missing.h"
|
||||||
#include "fileops.h"
|
#include "fileops.h"
|
||||||
|
|
||||||
|
__dso_public int main(int argc, char *argv[]);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Simple test driver for sudo_parseln().
|
* Simple test driver for sudo_parseln().
|
||||||
* Behaves similarly to "cat -n" but with comment removal
|
* Behaves similarly to "cat -n" but with comment removal
|
||||||
|
Reference in New Issue
Block a user