Changeset 24631e2 in rtems-libbsd for freebsd/contrib/tcpdump/print-atalk.c


Ignore:
Timestamp:
03/11/19 08:33:28 (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
32a41a1
Parents:
0b9be9f
git-author:
Sebastian Huber <sebastian.huber@…> (03/11/19 08:33:28)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/11/19 08:37:36)
Message:

tcpdump: Move static variables to special section

This fixes some issues if tcpdump is invoked a second time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/contrib/tcpdump/print-atalk.c

    r0b9be9f r24631e2  
    577577        register int i = (atnet << 8) | athost;
    578578        char nambuf[256+1];
     579#ifdef __rtems__
     580        __section(".rtemsrwset.bsd_prog_tcpdump.content")
     581#endif /* __rtems__ */
    579582        static int first = 1;
    580583        FILE *fp;
Note: See TracChangeset for help on using the changeset viewer.