Changeset 199 for trunk/src/sh_suidchk.c


Ignore:
Timestamp:
Nov 26, 2008, 11:46:43 PM (16 years ago)
Author:
katerina
Message:

While we're at it, implement 'else' cor the config file conditionals. Also fix some compile warnings and improve docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_suidchk.c

    r170 r199  
    16881688
    16891689#ifdef FSTYPE_MNTENT            /* 4.3BSD etc.  */
    1690 static int xatoi (char *cp);
     1690static int xatoi (const char *cp);
    16911691#endif
    16921692
     
    19451945  while (type == NULL && (mnt = getmntent (mfp)) != NULL)
    19461946    {
    1947       char *devopt;
     1947      const char *devopt;
    19481948      dev_t dev;
    19491949      struct stat disk_stats;
     
    21472147static int
    21482148xatoi (cp)
    2149      char *cp;
     2149     const char *cp;
    21502150{
    21512151  int val;
Note: See TracChangeset for help on using the changeset viewer.