lwIP | Add GRETH/GRETH_GBIT driver (!40)
Kinsey Moore (@opticron)
gitlab at rtems.org
Mon Jun 15 22:29:06 UTC 2026
Kinsey Moore started a new discussion on rtemslwip/greth/greth_mdio.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152377
> +
> +#ifndef __MDIO_H__
> +#define __MDIO_H__
> +
> +#include "greth_emac.h"
> +#include "greth_mdio.h"
> +
> +#include <stdbool.h>
> +#include <stdint.h>
> +#include <stdio.h>
> +
> +#include <rtems/dev/io.h>
> +
> +#ifdef __cplusplus
> +extern "C" {
> +#endif
I don't think this is necessary as this is a C source file and not a C++ source file. This is typically only used in C headers to avoid C++ mangling when included in C++ source files.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/40#note_152377
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260615/db1cc4cd/attachment-0001.htm>
More information about the bugs
mailing list