Print this page
make: fix GCC warnings

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/make/include/vroot/report.h
          +++ new/usr/src/cmd/make/include/vroot/report.h
↓ open down ↓ 22 lines elided ↑ open up ↑
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26   26  #ifndef _REPORT_H_
  27   27  #define _REPORT_H_
  28   28  
  29   29  #include <stdio.h>
  30   30  
  31   31  extern FILE     *get_report_file(void);
  32   32  extern char     *get_target_being_reported_for(void);
  33      -extern void     report_dependency(register char *name);
       33 +extern void     report_dependency(const char *name);
  34   34  extern int      file_lock(char *name, char *lockname, int *file_locked, int timeout);
  35   35  #ifdef NSE
  36   36  extern char     *setenv(char *name, char *value);
  37   37  #endif
  38   38  
  39   39  #define SUNPRO_DEPENDENCIES "SUNPRO_DEPENDENCIES"
  40   40  #define LD      "LD"
  41   41  #define COMP    "COMP"
  42   42  
  43   43  /* the following definitions define the interface between make and
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX