1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-19 20:30:29 -08:00
Commit graph

104 commits

Author SHA1 Message Date
Dan Nicolaescu
873fbd0b84 Convert function definitions to standard C.
* lib-src/update-game-score.c: Convert function definitions to standard C.
* lib-src/sorted-doc.c:
* lib-src/profile.c:
* lib-src/pop.c:
* lib-src/movemail.c:
* lib-src/make-docfile.c:
* lib-src/hexl.c:
* lib-src/fakemail.c:
* lib-src/etags.c:
* lib-src/ebrowse.c:
* lib-src/digest-doc.c:
* lib-src/b2m.c: Likewise.
2010-07-02 17:50:23 -07:00
Jan D
f57e2426f0 Remove __P and P_ from .c and .m files and definition of P_
* lisp.h:
* atimer.h: Remove define for P_.

* alloc.c: Remove __P and P_ from .c and .m files.
* atimer.c:
* buffer.c:
* callint.c:
* category.c:
* charset.c:
* chartab.c:
* cm.c:
* coding.c:
* composite.c:
* data.c:
* dired.c:
* dispnew.c:
* doc.c:
* editfns.c:
* emacs.c:
* eval.c:
* fileio.c:
* filelock.c:
* fns.c:
* font.c:
* fontset.c:
* frame.c:
* ftfont.c:
* ftxfont.c:
* gmalloc.c:
* gtkutil.c:
* image.c:
* indent.c:
* intervals.c:
* keyboard.c:
* keymap.c:
* lread.c:
* marker.c:
* menu.c:
* minibuf.c:
* print.c:
* process.c:
* scroll.c:
* search.c:
* sound.c:
* strftime.c:
* syntax.c:
* sysdep.c:
* term.c:
* terminal.c:
* textprop.c:
* unexalpha.c:
* w32console.c:
* w32fns.c:
* w32font.c:
* w32menu.c:
* w32term.c:
* w32uniscribe.c:
* window.c:
* xdisp.c:
* xfaces.c:
* xfns.c:
* xfont.c:
* xftfont.c:
* xmenu.c:
* xselect.c:
* xterm.c: Likewise.

* ebrowse.c: Remove P_ and __P.
* etags.c:
* movemail.c:
* pop.c:
* update-game-score.c: Likewise.
2010-07-02 14:19:53 +02:00
Glenn Morris
6589a2f98d Set copyright year to 2010.
* Cocoa/Emacs.base/Contents/Info.plist:
* Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* GNUstep/Emacs.base/Resources/Info-gnustep.plist:
Set copyright year to 2010.

* version.el (emacs-copyright): Set copyright year to 2010.

* ebrowse.c (version):
* etags.c (print_version):
* rcs2log (Copyright): Set copyright year to 2010.
2010-01-10 23:51:51 -08:00
Chong Yidong
efdd3da41d (matching_regexp): Fix OB1 error. 2009-01-14 13:41:12 +00:00
Glenn Morris
12de22a56f (version): Update copyright for 2009. 2009-01-05 00:51:13 +00:00
Jim Meyering
5c19cd0bbb * lib-src/ebrowse.c (xfree): Remove definition; s/xfree/free/ 2008-06-02 06:02:30 +00:00
Jim Meyering
c2cd06e61e remove useless if-before-free tests
* lib-src/ebrowse.c (xfree): Likewise.
* lib-src/etags.c (process_file_name, free_tree, free_fdesc): Likewise.
(popclass_above, Prolog_functions, Erlang_functions): Likewise.
* lib-src/pop.c (pop_quit): Likewise.
* lwlib/lwlib-Xm.c (xm_update_one_value): Likewise.
* lwlib/lwlib.c (safe_free_str, free_widget_value_tree): Likewise.
* src/editfns.c (Fset_time_zone_rule): Likewise.
* src/lread.c (nosuffix): Likewise.
* src/ralloc.c (get_bloc): Likewise.
* src/regex.c (reg_free): Likewise.
* src/xftfont.c (xftfont_open, xftfont_close): Likewise.
* src/xrdb.c (get_user_app, get_environ_db, x_load_resources): Likewise.
* src/xsmfns.c (smc_save_yourself_CB): Likewise.
2008-06-02 06:00:54 +00:00
Glenn Morris
294981c77c Switch to recommended form of GPLv3 permissions notice. 2008-05-09 23:19:13 +00:00
Glenn Morris
969c3f6624 (version) <emacs_copyright>: New variable. Just use current year for copyright. 2008-01-04 03:10:02 +00:00
Glenn Morris
4a9f99bdfb Switch license to GPLv3 or later. 2007-07-25 05:08:27 +00:00
Glenn Morris
4e6835dbc4 Add 2007 to copyright years. 2007-01-21 04:57:37 +00:00
Dan Nicolaescu
2381d38d0a * ebrowse.c (usage, version): Mark as NO_RETURN.
* emacsclient.c (print_help_and_exit): Likewise.

* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.

* textprop.c (text_read_only): Likewise.

* lread.c (end_of_file_error): Likewise.

* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.

* eval.c (unwind_to_catch): Likewise.

* buffer.h (buffer_slot_type_mismatch): Likewise.
2006-07-18 16:33:45 +00:00
Masatake YAMATO
0f29c66d25 (main): Exit with EXIT_FAILURE if BROWSE file doesn't exist, is not seekable, not is failed in ftall. 2006-06-03 17:49:36 +00:00
Thien-Thi Nguyen
273dc16aaf Update years in copyright notice; nfc. 2006-02-06 11:28:28 +00:00
Chong Yidong
41ea4df8c3 (add_sym): Compare namespace names instead of namespace objects. This
prevents the parser from incorrectly treating classes whose superclass
is in another namespace.
2005-09-20 13:19:29 +00:00
Thien-Thi Nguyen
92b47a4a99 Update years in copyright notice; nfc. 2005-08-07 10:56:27 +00:00
Lute Kamstra
364c38d3af Update FSF's address. 2005-07-04 15:47:28 +00:00
Thien-Thi Nguyen
65396510c3 Throughout, replace 0 destined for exit' arg with EXIT_SUCCESS'.
Likewise, replace 1 with `EXIT_FAILURE'.
(main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
2004-05-08 15:26:33 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00
Pavel Janík
beedfcf163 (skip_initializer): Return void. 2002-04-24 18:27:59 +00:00
Gerd Moellmann
c901ceff74 (add_declarator): Test *CLS instead of CLS. 2002-04-21 12:49:36 +00:00
Eli Zaretskii
74974a34cd (add_declarator): Fix the first call to add_member_defn. 2002-03-30 07:40:54 +00:00
Gerd Moellmann
fa8bc89d0d (add_declarator, skip_initializer): New functions.
(declaration): Use them.
2002-03-29 11:20:40 +00:00
Richard M. Stallman
6666a3c378 *** empty log message *** 2001-12-22 03:16:49 +00:00
Pavel Janík
69bfc389e9 Include stdlib.h and string.h conditionally. 2001-12-19 06:03:57 +00:00
Gerd Moellmann
cbdf883147 (matching_regexp): Escape '\\'. 2001-11-16 10:48:38 +00:00
Gerd Moellmann
407094f443 (struct alias): Add two new struct members: NAMESP and
ALIASEE to help work with namespace aliases.
(struct sym): Remove struct member NAMESP_ALIASES.
(namespace_alias_table): New variable.
(make_namespace): Add parameter CONTEXT.
(check_namespace): New function.
(find_namespace): Add parameter CONTEXT.
(check_namespace_alias): New function.
(register_namespace_alias): Change type of parameter
OLD_NAME. Search for already defined alias in
NAMESPACE_ALIAS_TABLE.
(check_namespace): New function.
(enter_namespace): Call find_namespace with CONTEXT parameter.
(match_qualified_namespace_alias): New function.
(parse_qualified_ident_or_type): Fixed typo in comment. While
parsing qualified ident or type update namespace context and
restore it on exit.
(parse_qualified_param_ident_or_type): Fixed typo in comment.
(globals): Changed handling of namespace aliases.
(version): Added year 2001.
2001-10-01 07:25:14 +00:00
Eli Zaretskii
75c911eb15 (SEEK_END): #define if not defined by system headers.
Suggested by Dave Love <d.love@dl.ac.uk>.
2001-09-01 18:22:38 +00:00
Eli Zaretskii
a10192f44d Fix a typo in a comment. 2001-08-09 17:40:59 +00:00
Gerd Moellmann
8e4b384ede (main): Check that the output file exists and
is non-empty if invoked with `--append'.
2001-07-16 11:20:25 +00:00
Gerd Moellmann
04dae60b46 (enter_namespace): Fix reallocation of
namespace_stack.
2001-05-08 11:25:01 +00:00
Gerd Moellmann
cc863bb799 Update copyright notice. 2001-05-07 10:23:58 +00:00
Gerd Moellmann
efbecf9d71 (globals): Fix handling of namespace aliases. 2001-05-03 11:57:57 +00:00
Gerd Moellmann
1727db8c85 (parse_qualified_param_ident_or_type): Return a
freshly allocated object in *LAST_ID.
(read_line): Accept \r\n line endings.
2001-03-02 12:34:45 +00:00
Gerd Moellmann
995d76897c (matching_regexp_buffer, matching_regexp_end_buf):
New variables.
(matching_regexp): Use them instead of static variables in
function scope.
2001-01-26 09:32:03 +00:00
Gerd Moellmann
57b4c82e8e (xfree): New function.
(member, declaration, globals): Use xmalloc instead of alloca.
2001-01-22 11:52:45 +00:00
Gerd Moellmann
e6a0814f18 (yyerror): Changed to take two arguments. Prototype
added.  Callers changed.
2001-01-02 14:32:37 +00:00
Eli Zaretskii
3a57e86683 (enter_namespace, main): Cast variables to shut up
compiler warnings.
(yyerror): Change parameter declarations to be of type long, so
that they can take pointers on 64-bit platforms.
2001-01-02 13:53:32 +00:00
Gerd Moellmann
db3a495ec0 (operator_name): Cast argument of isalpha to
unsigned char.
2000-12-15 14:33:39 +00:00
Dave Love
f94b82d970 (ensure_scope_buffer_room): Fix xrealloc call. 2000-12-13 17:47:18 +00:00
Dave Love
e7cff5504b Fix copyright years. 2000-12-06 20:24:23 +00:00
Andrew Innes
2fe9a71c60 (VERSION): Provide default definition, like etags.c
does, because Windows build can't snarf this from version.el.
2000-12-06 13:42:18 +00:00
Dave Love
38748acaa2 Fix comment. 2000-11-10 19:43:55 +00:00
Gerd Moellmann
c43a1ff693 (xrealloc, xmalloc): Renamed from yrealloc and
ymalloc.
2000-07-14 17:59:55 +00:00
Gerd Moellmann
d65b057138 (yylex): Accept string literals with newlines in them.
(process_pp_line): Handle case of string literal with newline
in it in replacement text, which counts as continuing the
replacement text in GNU C.
2000-07-10 20:36:58 +00:00
Gerd Moellmann
2faf048a41 (token_string): Add missing tokens.
(parm_list): Handle case of qualified pointers.
2000-07-03 07:50:42 +00:00
Dave Love
53245ee2d1 Move config.h before other includes (which may use feature tests). 2000-06-23 11:36:52 +00:00
Jason Rumney
945499122b [WINDOWS-NT]: Use stricmp rather than strcasecmp to compare filenames. 2000-06-11 20:35:07 +00:00
Gerd Moellmann
9aa665aab5 (ymalloc): Renamed from xmalloc.
(yrealloc): Renamed from xrealloc.
2000-06-06 10:39:01 +00:00