Changeset 998ab36 in rtems-libbsd


Ignore:
Timestamp:
Oct 31, 2013, 9:09:41 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, afaeccc05a556f6aa25ba044a7e49d6aa634a59e, freebsd-9.3, master
Children:
cf53967
Parents:
aa5c35a
git-author:
Sebastian Huber <sebastian.huber@…> (10/31/13 09:09:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 12:20:13)
Message:

PING6(8): Add const qualifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sbin/ping6/ping6.c

    raa5c35a r998ab36  
    214214 */
    215215#define MAX_DUP_CHK     (8 * 8192)
    216 static int mx_dup_ck = MAX_DUP_CHK;
     216static const int mx_dup_ck = MAX_DUP_CHK;
    217217static char rcvd_tbl[MAX_DUP_CHK / 8];
    218218
     
    224224static int s;                           /* socket file descriptor */
    225225static u_char outpack[MAXPACKETLEN];
    226 static char BSPACE = '\b';              /* characters written for flood */
    227 static char BBELL = '\a';               /* characters written for AUDIBLE */
    228 static char DOT = '.';
     226static const char BSPACE = '\b';        /* characters written for flood */
     227static const char BBELL = '\a';         /* characters written for AUDIBLE */
     228static const char DOT = '.';
    229229static char *hostname;
    230230static int ident;                       /* process id to identify our packets */
Note: See TracChangeset for help on using the changeset viewer.