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:
parent
5177d1a700
commit
3d0e6a5f1e
3d-viewer/bitmaps3d
axis3d.xpmaxis3d_back.xpmaxis3d_bottom.xpmaxis3d_front.xpmaxis3d_left.xpmaxis3d_right.xpmaxis3d_top.xpmimport3d.xpmrotate+x.xpmrotate+y.xpmrotate+z.xpmrotate-x.xpmrotate-y.xpmrotate-z.xpmzoomoins3d.xpmzoompage3d.xpmzoomplus3d.xpmzoomrefr3d.xpm
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.txtcommon
bitmaps
Lang_Catalan.xpmLang_De.xpmLang_Default.xpmLang_En.xpmLang_Es.xpmLang_Fr.xpmLang_Hu.xpmLang_It.xpmLang_Ko.xpmLang_Po.xpmLang_Pt.xpmLang_Ru.xpmLang_Sl.xpmLanguage.xpm
hotkeys_basic.cppcvpcb/bitmaps
eeschema
bitmaps
AddBus2Bus.xpmAddLine2Bus.xpmAdd_Bus2Bus.xpmAdd_GLabel.xpmAdd_Junction.xpmAdd_Line_Label.xpmAdd_Power.xpmBreak_Bus.xpmBreak_Line.xpmDelete_Bus.xpmDelete_Connection.xpmDelete_GLabel.xpmDelete_Node.xpmDelete_Pin.xpmDelete_Pinsheet.xpmDelete_Sheet.xpmEdit_Comp_Ref.xpmEdit_Comp_Value.xpmEdit_Component.xpmEdit_Part.xpmEdit_Sheet.xpmGL_Change.xpmGLabel2Label.xpmGLabel2Text.xpmHidden_Pin.xpmHierarchy_Nav.xpmHierarchy_cursor.xpmImport_GLabel.xpmLabel2GLabel.xpmLabel2Text.xpmLeave_Sheet.xpmLib_next.xpmLib_previous.xpmLines90.xpmMirror_H.xpmMirror_V.xpmMove_GLabel.xpmMove_Pinsheet.xpmMove_Sheet.xpmNormal.xpmOptions_Pin.xpmOptions_Pinsheet.xpmPin_Name_to.xpmPin_Number_to.xpmPin_Size_to.xpmPin_to.xpmResize_Sheet.xpmRotate_GLabel.xpmRotate_Pin.xpmadd_hierar_pin.xpmcvpcb.xpmlibedit.xpmlibedit_icon.xpmlibrary_browse.xpmpart_properties.xpmpin2pin.xpmviewlibs_icon.xpm
erc.cppinclude
kicad/bitmaps
Browse_Files.xpmFonts.xpmNew_Project.xpmSave_Project.xpmicon_cvpcb_small.xpmicon_gerbview_small.xpmnew_cvpcb.xpmnew_gerb.xpmnew_pcb.xpmnew_python.xpmnew_sch.xpmreload.xpmunknown.xpmunzip.xpmzip.xpmzip_tool.xpm
pcbnew
bitmaps
Add_Mires.xpmAdd_Tracks.xpmAdd_Zone.xpmBreak_Line.xpmDelete_Line.xpmDelete_Module.xpmDelete_Net.xpmDelete_Node.xpmDelete_Pad.xpmDelete_Track.xpmDrag_Module.xpmDrag_Pad.xpmEdges_Sketch.xpmEdit_Module.xpmExport_Module.xpmExport_Options_Pad.xpmFlag.xpmGlobal_Options_Pad.xpmImport_Module.xpmInsert_Module_Board.xpmInvert_Module.xpmLoad_Module_Board.xpmLoad_Module_Lib.xpmLocked.xpmMode_Module.xpmMode_Track.xpmModul_Edit.xpmModule_Check.xpmModule_Ratsnet.xpmMove_Field.xpmMove_Module.xpmMove_Pad.xpmMove_Pin.xpmMove_Track.xpmNet_HighLight.xpmNet_Locked.xpmNet_UnLocked.xpmNew_FootPrint.xpmNew_Module.xpmOptions_All_Tracks&Vias.xpmOptions_All_Tracks.xpmOptions_All_Vias.xpmOptions_Module.xpmOptions_Track.xpmOptions_Tracks.xpmOptions_Vias.xpmPcbOffset.xpmPost_Compo.xpmPost_Drill.xpmPost_Module.xpmRotate_Field.xpmRotate_Module+.xpmRotate_Module-.xpmSelect_Layer_Pair.xpmSelect_W_Layer.xpmShow_Zone.xpmSwap_Layer.xpmTrack_Locked.xpmTrack_Sketch.xpmTrack_UnLocked.xpmUnlocked.xpmUpdate_Module_Board.xpmWidth_Track.xpmadd_cotation.xpmlocal_ratsnet.xpmmodule_options.xpmmw_Add_Gap.xpmmw_Add_Line.xpmmw_Add_Shape.xpmmw_Add_Stub.xpmmw_Add_stub_arc.xpmmw_toolbar.xpmnet_hightlight.xpmtool_ratsnet.xpm
class_board_item.cppgen_modules_placefile.cpp@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user