7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-19 12:01:42 +00:00

gcc 4.2.1 compatibility: change char * to const char * whenever it was necessary

This commit is contained in:
CHARRAS 2007-10-31 08:34:05 +00:00
parent 5177d1a700
commit 3d0e6a5f1e
358 changed files with 598 additions and 589 deletions
3d-viewer/bitmaps3d
bitmaps
3d.xpmAdd_Arc.xpmAdd_Circle.xpmAdd_Component.xpmAdd_Dashed_Line.xpmAdd_Entry.xpmAdd_GLabel.xpmAdd_Junction.xpmAdd_Line.xpmAdd_Line_Label.xpmAdd_Polygon.xpmAdd_Rectangle.xpmAdd_Text.xpmApply.xpmCancel.xpmCopyBlock.xpmCursor_Shape.xpmDatasheet.xpmDelete_Arc.xpmDelete_Circle.xpmDelete_Cotation.xpmDelete_Field.xpmDelete_Line.xpmDelete_Polygon.xpmDelete_Rectangle.xpmDelete_Segment.xpmDelete_Text.xpmDisplay_Options.xpmEdit.xpmEdit_Text.xpmEditor.xpmExit.xpmFile_FootPrint.xpmFootprint_Text.xpmInfo.xpmMirror_H.xpmMirror_V.xpmMorgan1.xpmMorgan2.xpmMove.xpmMove_Arc.xpmMove_Circle.xpmMove_Field.xpmMove_Line.xpmMove_Polygon.xpmMove_Rectangle.xpmMove_Text.xpmNew_Library.xpmOpen_Library.xpmOptions_Arc.xpmOptions_Circle.xpmOptions_New_Pad.xpmOptions_Pad.xpmOptions_Rectangle.xpmOptions_Segment.xpmOptions_Text.xpmOrient.xpmPad_Sketch.xpmRead_SetUp.xpmReload.xpmRepaint.xpmRotate+.xpmRotate-.xpmRotate_Field.xpmSave_CmpStuff.xpmSave_Library.xpmSave_NetList.xpmSave_Project.xpmSave_SetUp.xpmText_Sketch.xpmZoom_1.xpmZoom_Center.xpmZoom_In.xpmZoom_Optimal.xpmZoom_Out.xpmZoom_Page.xpmZoom_Select.xpmZoom_Selected.xpmanchor.xpmannotate.xpmauto_associe.xpmbook.xpmcancel_tool.xpmconfig.xpmcopy.xpmcursor.xpmcut.xpmdashline.xpmdel_body.xpmdel_track.xpmdelete.xpmdirectory.xpmdown.xpmdrc.xpmdrc_off.xpmeeschema.xpmerc.xpmercerr.xpmercgreen.xpmercwarn.xpmexport.xpmfind.xpmgeneral_deletions.xpmgeneral_ratsnet.xpmgreen.xpmgrid.xpmgrid_select.xpmhammer.xpmhelp.xpmicon_3d.xpmicon_cvpcb.xpmicon_eeschema.xpmicon_gerbview.xpmicon_kicad.xpmicon_modedit.xpmicon_pcbnew.xpmicon_python.xpmicon_python_small.xpmicon_txt.xpmimport.xpmjigsaw.xpmkicad_icon_small.xpmlabel.xpmleft.xpmlibedprt.xpmlibrary.xpmlibrary_update.xpmlibsavem.xpmlibview.xpmmirepcb.xpmmodedit.xpmmodratsnest.xpmmodule.xpmnetlist.xpmnew.xpmnew_txt.xpmnoconn.xpmopen.xpmpad.xpmpalette.xpmpaste.xpmpcbnew.xpmpin.xpmplot.xpmplot_HPG.xpmplot_PS.xpmpreference.xpmprint.xpmratsnest.xpmred.xpmredo.xpmright.xpmsave.xpmsave_as.xpmschematic.xpmselect_grid.xpmsheetset.xpmshowdcode.xpmshowmodedge.xpmshowtrack.xpmtools.xpmtransistor.xpmtreensel.xpmtreesel.xpmundelete.xpmundo.xpmunit_inch.xpmunit_mm.xpmup.xpmzoom.xpm
change_log.txt
common
cvpcb/bitmaps
eeschema
include
kicad/bitmaps
pcbnew

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char * axis3d_xpm[];
extern const char * axis3d_xpm[];
#else
char * axis3d_xpm[] = {
const char * axis3d_xpm[] = {
"16 15 3 1",
" c None",
". c Blue",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char * axis3d_back_xpm[];
extern const char * axis3d_back_xpm[];
#else
char * axis3d_back_xpm[] = {
const char * axis3d_back_xpm[] = {
"16 15 3 1",
" c None",
". c Blue",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char * axis3d_bottom_xpm[];
extern const char * axis3d_bottom_xpm[];
#else
char * axis3d_bottom_xpm[] = {
const char * axis3d_bottom_xpm[] = {
"16 15 3 1",
" c None",
". c Blue",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char * axis3d_front_xpm[];
extern const char * axis3d_front_xpm[];
#else
char * axis3d_front_xpm[] = {
const char * axis3d_front_xpm[] = {
"16 15 3 1",
" c None",
". c Blue",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char * axis3d_left_xpm[];
extern const char * axis3d_left_xpm[];
#else
char * axis3d_left_xpm[] = {
const char * axis3d_left_xpm[] = {
"16 15 3 1",
" c None",
". c Blue",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char * axis3d_right_xpm[];
extern const char * axis3d_right_xpm[];
#else
char * axis3d_right_xpm[] = {
const char * axis3d_right_xpm[] = {
"16 15 3 1",
" c None",
". c Blue",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char * axis3d_top_xpm[];
extern const char * axis3d_top_xpm[];
#else
char * axis3d_top_xpm[] = {
const char * axis3d_top_xpm[] = {
"16 15 3 1",
" c None",
". c Blue",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char *import3d_xpm[];
extern const char *import3d_xpm[];
#else
char *import3d_xpm[] = {
/* columns rows colors chars-per-pixel */
const char *import3d_xpm[] = {
/* columns rows colors const chars-per-pixel */
"16 15 3 1",
"- c Black",
"X c None",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char *rotate_pos_X_xpm[];
extern const char *rotate_pos_X_xpm[];
#else
char *rotate_pos_X_xpm[] = {
/* width height num_colors chars_per_pixel */
const char *rotate_pos_X_xpm[] = {
/* width height num_colors const chars_per_pixel */
" 16 15 4 1",
/* colors */
". c #000080",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char *rotate_pos_Y_xpm[];
extern const char *rotate_pos_Y_xpm[];
#else
char *rotate_pos_Y_xpm[] = {
/* width height num_colors chars_per_pixel */
const char *rotate_pos_Y_xpm[] = {
/* width height num_colors const chars_per_pixel */
" 16 15 4 1",
/* colors */
". c #000080",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char *rotate_pos_Z_xpm[];
extern const char *rotate_pos_Z_xpm[];
#else
char *rotate_pos_Z_xpm[] = {
/* width height num_colors chars_per_pixel */
const char *rotate_pos_Z_xpm[] = {
/* width height num_colors const chars_per_pixel */
" 16 15 4 1",
/* colors */
". c #000080",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char *rotate_neg_X_xpm[];
extern const char *rotate_neg_X_xpm[];
#else
char *rotate_neg_X_xpm[] = {
/* width height num_colors chars_per_pixel */
const char *rotate_neg_X_xpm[] = {
/* width height num_colors const chars_per_pixel */
" 16 15 4 1",
/* colors */
". c #000080",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char *rotate_neg_Y_xpm[];
extern const char *rotate_neg_Y_xpm[];
#else
char *rotate_neg_Y_xpm[] = {
/* width height num_colors chars_per_pixel */
const char *rotate_neg_Y_xpm[] = {
/* width height num_colors const chars_per_pixel */
" 16 15 4 1",
/* colors */
". c #000080",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPM_3D_MAIN
extern char *rotate_neg_Z_xpm[];
extern const char *rotate_neg_Z_xpm[];
#else
char *rotate_neg_Z_xpm[] = {
/* width height num_colors chars_per_pixel */
const char *rotate_neg_Z_xpm[] = {
/* width height num_colors const chars_per_pixel */
" 16 15 4 1",
/* colors */
". c #000080",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char * zoomoins3d_xpm[];
extern const char * zoomoins3d_xpm[];
#else
char * zoomoins3d_xpm[] = {
const char * zoomoins3d_xpm[] = {
"16 16 3 1",
" c None",
". c Black",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPMMAIN
extern char * zoompage3d_xpm[];
extern const char * zoompage3d_xpm[];
#else
char *zoompage3d_xpm[] = {
/* columns rows colors chars-per-pixel */
const char *zoompage3d_xpm[] = {
/* columns rows colors const chars-per-pixel */
"16 15 5 1",
" c Black",
". c None",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char * zoomplus3d_xpm[];
extern const char * zoomplus3d_xpm[];
#else
char * zoomplus3d_xpm[] = {
const char * zoomplus3d_xpm[] = {
"16 16 3 1",
" c None",
". c Black",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char * zoomrefr3d_xpm[];
extern const char * zoomrefr3d_xpm[];
#else
char * zoomrefr3d_xpm[] = {
const char * zoomrefr3d_xpm[] = {
"16 16 3 1",
" c None",
". c #0000A0",

View File

@ -1,10 +1,10 @@
/* XPM */
#ifndef XPMMAIN
extern char *show_3d_xpm[];
extern const char *show_3d_xpm[];
#else
char *show_3d_xpm[] = {
/* columns rows colors chars-per-pixel */
const char *show_3d_xpm[] = {
/* columns rows colors const chars-per-pixel */
"16 15 3 1",
"J c #FF0000",
"x c #0000FF",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char *add_arc_xpm[];
extern const char *add_arc_xpm[];
#else
char * add_arc_xpm[] = {
const char * add_arc_xpm[] = {
"16 16 48 1",
" c None",
". c #222224",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char *add_circle_xpm[];
extern const char *add_circle_xpm[];
#else
char * add_circle_xpm[] = {
const char * add_circle_xpm[] = {
"16 16 36 1",
" c None",
". c #00009B",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char *add_component_xpm[];
extern const char *add_component_xpm[];
#else
char * add_component_xpm[] = {
const char * add_component_xpm[] = {
"16 16 67 1",
" c None",
"! c black",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char *add_dashed_line_xpm[];
extern const char *add_dashed_line_xpm[];
#else
char * add_dashed_line_xpm[] = {
const char * add_dashed_line_xpm[] = {
"16 16 15 1",
" c None",
". c #03039B",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char *add_entry_xpm[];
extern const char *add_entry_xpm[];
#else
char * add_entry_xpm[] = {
const char * add_entry_xpm[] = {
"16 16 10 1",
" c None",
". c #006800",

View File

@ -1,9 +1,9 @@
/* XPM */
#ifndef XPMMAIN
extern char *add_glabel_xpm[];
extern const char *add_glabel_xpm[];
#else
char * add_glabel_xpm[] = {
const char * add_glabel_xpm[] = {
"16 16 54 1",
" c None",
". c #695F00",

Some files were not shown because too many files have changed in this diff Show More