[parted-devel] Parted on GNU Hurd based systems
Jim Meyering
jim at meyering.net
Tue Mar 6 08:18:31 CET 2007
"Debarshi 'Rishi' Ray" <debarshi.ray at gmail.com> wrote:
> Please find attached the latest version.
...
> diff --git a/parted/ui.c b/parted/ui.c
> index 58a71a3..dc30986 100644
> --- a/parted/ui.c
> +++ b/parted/ui.c
> @@ -63,6 +63,97 @@ extern int tgetnum (char* key);
>
> #endif /* HAVE_LIBREADLINE */
>
> +#ifndef SA_SIGINFO
> +# ifndef HAVE_SIGACTION
> +
> +struct sigaction {
> +};
> +
> +inline int
> +sigaction (int signum, const struct* sigaction, struct* sigaction)
> +{
> +}
This looks fine.
Final nit: add "static" before "inline".
More information about the parted-devel
mailing list