1. 17 Mar, 2011 3 commits
  2. 16 Mar, 2011 1 commit
    • Paul Eggert's avatar
      New file unexec.h, the (simple) interface for unexec. · ce701a33
      Paul Eggert authored
      * deps.mk (emacs.o, unexaix.o, unexcw.o, unexcoff.o, unexelf.o):
      (unexhp9k800.o, unexmacosx.o, unexsol.o, unexw32.o):
      Depend on unexec.h.
      * emacs.c [!defined CANNOT_DUMP]: Include unexec.h.
      * unexaix.c, unexcoff.c, unexcw.c, unexelf.c, unexhp9k800.c:
      * unexmacosx.c, unexsol.c, unexw32.c: Include unexec.h.
      ce701a33
  3. 25 Jan, 2011 1 commit
  4. 15 Jan, 2011 1 commit
  5. 02 Jan, 2011 1 commit
  6. 10 Oct, 2010 1 commit
  7. 03 Oct, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove unused arguments for unexec. · dd5ecd6b
      Dan Nicolaescu authored
      The third one is never used, and the last two are always passed as zero.
      * src/emacs.c (unexec): Add declaration.
      (Fdump_emacs): Only pass the first two arguments to unexec.
      Simplify #ifdef.
      * src/unexw32.c (unexec):
      * src/unexsol.c (unexec):
      * src/unexhp9k800.c (unexec):
      * src/unexcw.c (unexec): Remove the last 3 arguments, unused.
      * src/unexelf.c (unexec): Remove the last 3 arguments, unused.
      (find_section): Use const.
      * src/unexmacosx.c (unexec): Remove the last 3 arguments, unused.
      (unexec_error): Declare it NO_RETURN.
      * src/unexcoff.c (make_hdr): Assume bss_start is always zero, remove
      it as an argument, remove data_start and entry_address arguments, unused.
      (unexec): Remove bss_start, data_start and
      entry_address arguments.
      * src/unexaix.c (make_hdr): Assume bss_start is always zero, remove
      it as an argument, remove data_start and entry_address arguments, unused.
      (unexec): Remove bss_start, data_start and
      entry_address arguments.
      dd5ecd6b
  8. 09 Aug, 2010 1 commit
    • Dan Nicolaescu's avatar
      Use const char* instead of char*. · 8ea90aa3
      Dan Nicolaescu authored
      Reduce the number of warnings with -Wwrite-strings.
      * src/xrdb.c (get_environ_db, get_system_name):
      * src/unexelf.c (find_section):
      * src/term.c (string_cost, string_cost_one_line, per_line_cost)
      (get_named_tty, init_tty):
      * src/sysdep.c (sys_subshell):
      * src/sound.c (sound_perror, sound_warning, vox_open, vox_init)
      (alsa_sound_perror, alsa_open, alsa_configure, alsa_init):
      * src/search.c (Freplace_match):
      * src/process.c (Fmake_network_process, send_process, init_process):
      * src/lread.c (Fload, init_lread):
      * src/keymap.c (Fdescribe_buffer_bindings, describe_map_tree):
      * src/keyboard.c (parse_tool_bar_item, struct event_head):
      * src/gtkutil.h (xg_get_font_name):
      * src/gtkutil.c (get_dialog_title, create_dialog, xg_get_font_name)
      (make_widget_for_menu_item, make_menu_item, create_menus)
      (xg_make_tool_item):
      * src/font.c (parse_matrix, font_parse_name):
      * src/floatfns.c (rounding_driver, float_error_fn_name):
      * src/filelock.c (get_boot_time_1, lock_file_1):
      * src/fileio.c (barf_or_query_if_file_exists, check_writable):
      * src/editfns.c (get_system_name, get_operating_system_release)
      (Fencode_time, Fset_time_zone_rule):
      * src/dispextern.h (string_cost, per_line_cost, get_named_tty, init_tty):
      * src/buffer.c (defvar_per_buffer): Use const.
      8ea90aa3
  9. 04 Jul, 2010 2 commits
    • Juanma Barranquero's avatar
    • Dan Nicolaescu's avatar
      Convert (most) functions in src to standard C. · 971de7fb
      Dan Nicolaescu authored
      * src/alloc.c: Convert function definitions to standard C.
      * src/atimer.c:
      * src/bidi.c:
      * src/bytecode.c:
      * src/callint.c:
      * src/callproc.c:
      * src/casefiddle.c:
      * src/casetab.c:
      * src/category.c:
      * src/ccl.c:
      * src/character.c:
      * src/charset.c:
      * src/chartab.c:
      * src/cmds.c:
      * src/coding.c:
      * src/composite.c:
      * src/data.c:
      * src/dbusbind.c:
      * src/dired.c:
      * src/dispnew.c:
      * src/doc.c:
      * src/doprnt.c:
      * src/ecrt0.c:
      * src/editfns.c:
      * src/fileio.c:
      * src/filelock.c:
      * src/filemode.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/ftfont.c:
      * src/ftxfont.c:
      * src/gtkutil.c:
      * src/indent.c:
      * src/insdel.c:
      * src/intervals.c:
      * src/keymap.c:
      * src/lread.c:
      * src/macros.c:
      * src/marker.c:
      * src/md5.c:
      * src/menu.c:
      * src/minibuf.c:
      * src/prefix-args.c:
      * src/print.c:
      * src/ralloc.c:
      * src/regex.c:
      * src/region-cache.c:
      * src/scroll.c:
      * src/search.c:
      * src/sound.c:
      * src/strftime.c:
      * src/syntax.c:
      * src/sysdep.c:
      * src/termcap.c:
      * src/terminal.c:
      * src/terminfo.c:
      * src/textprop.c:
      * src/tparam.c:
      * src/undo.c:
      * src/unexelf.c:
      * src/window.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xfont.c:
      * src/xftfont.c:
      * src/xgselect.c:
      * src/xmenu.c:
      * src/xrdb.c:
      * src/xselect.c:
      * src/xsettings.c:
      * src/xsmfns.c:
      * src/xterm.c: Likewise.
      971de7fb
  10. 13 Jan, 2010 1 commit
  11. 07 Dec, 2009 1 commit
  12. 06 May, 2009 1 commit
  13. 07 Feb, 2009 1 commit
  14. 02 Feb, 2009 1 commit
  15. 08 Jan, 2009 1 commit
  16. 10 Jul, 2008 1 commit
  17. 26 Jun, 2008 1 commit
    • Dan Nicolaescu's avatar
      * unexnext.c: · f2a77c3a
      Dan Nicolaescu authored
      * m/ews4800.h:
      * m/hp9000s300.h:
      * m/ibm370aix.h:
      * m/mips-siemens.h:
      * m/ncr386.h:
      * m/next.h:
      * m/pmax.h:
      * m/powerpcle.h:
      * m/tandem-s2.h:
      * s/386bsd.h:
      * s/bsd386.h:
      * s/bsd4-1.h:
      * s/bsd4-2.h:
      * s/bsdos2-1.h:
      * s/bsdos2.h:
      * s/bsdos3.h:
      * s/bsdos4.h:
      * s/nextstep.h:
      * s/ultrix4-3.h:
      * s/usg5-0.h:
      * s/usg5-2-2.h:
      * s/usg5-2.h:
      * s/usg5-4-3.h:
      * s/ux4800.h:
      * s/uxpds.h:
      * s/uxpv.h: Remove support for obsolete systems.
      * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h:
      Remove, insert contents in s/hpux-10.20.h
      * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h:
      Remove, insert contents in s/aix-4.2.h
      * s/usg5-3.h: Remove, insert contents in s/usg5-4.h.
      * s/bsd4-3.h: Rename to ..
      * s/bsd-common.h: ... this.
      * src/data.c:
      * src/doc.c:
      * src/ecrt0.c:
      * src/emacs.c:
      * src/fileio.c:
      * src/floatfns.c:
      * src/keyboard.c:
      * src/mem-limits.h:
      * src/print.c:
      * src/process.c:
      * src/sysdep.c:
      * src/syssignal.h:
      * src/systty.h:
      * src/syswait.h:
      * src/term.c:
      * src/unexec.c:
      * src/unexelf.c:
      * src/unexhp9k800.c:
      * src/m/hp800.h:
      * src/m/ibmrs6000.h:
      * src/m/mips.h:
      * src/m/vax.h:
      * src/s/darwin.h:
      * src/s/freebsd.h:
      * src/s/gnu.h:
      * src/s/ms-w32.h:
      * src/s/msdos.h:
      * src/s/netbsd.h:
      * src/s/template.h: Remove references to obsolete variables.
      
      * Makefile.in: Add dependencies for all unexec files.
      (admindir): Remove unused variable.
      (UNEXEC_SRC): Remove references.
      
      * config.nt: Remove reference to UNEXEC_SRC.
      
      * lwlib.c: Remove references to obsolete variables.
      
      * fakemail.c: Remove references to obsolete variables.
      
      * os.texi: Remove references to obsolete systems.
      
      * configure.in:
      * configure: Remove references to obsolete systems.
      f2a77c3a
  18. 14 May, 2008 1 commit
  19. 08 Jan, 2008 1 commit
  20. 25 Jul, 2007 1 commit
  21. 21 Jan, 2007 1 commit
  22. 18 Mar, 2006 1 commit
  23. 06 Feb, 2006 1 commit
  24. 01 Nov, 2005 1 commit
  25. 20 Oct, 2005 1 commit
  26. 30 Sep, 2005 1 commit
    • Dan Nicolaescu's avatar
      * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct · fa8459a3
      Dan Nicolaescu authored
      type.
      * xterm.c (handle_one_xevent, handle_one_xevent): Likewise.
      
      * unexelf.c (fatal): Fix prototype.
      
      * term.c (fatal): Implement using varargs.
      
      * regex.c (re_char): Move typedef ...
      * regex.h (re_char): ... here.
      (re_iswctype, re_wctype, re_set_whitespace_regexp): New
      prototypes.
      
      * emacs.c (malloc_set_state): Fix return type.
      (endif): Fix type.
      
      * lisp.h (fatal): Add argument types.
      
      * dispextern.h (fatal): Delete prototype.
      
      * systime.h: (make_time): Prototype moved from ...
      * editfns.c (make_time): ... here.
      
      * editfns.c: Move systime.h include after lisp.h.
      * dired.c:
      * xsmfns.c:
      * process.c: Likewise.
      
      * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook):
      Add parameter types.
      (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes.
      (emacs_blocked_free): Change definition to match __free_hook.
      (emacs_blocked_malloc): Change definition to match __malloc_hook.
      (emacs_blocked_realloc): Change definition to match
      __realloc_hook.
      fa8459a3
  27. 07 Aug, 2005 1 commit
  28. 04 Jul, 2005 1 commit
  29. 16 Apr, 2004 1 commit
  30. 08 Sep, 2003 1 commit
  31. 01 Sep, 2003 1 commit
  32. 12 Jul, 2003 1 commit
  33. 25 May, 2003 1 commit
  34. 29 Nov, 2002 1 commit
  35. 10 Oct, 2002 1 commit
  36. 07 Oct, 2002 1 commit
  37. 18 Sep, 2002 1 commit