1. 20 Jul, 2010 1 commit
    • Juanma Barranquero's avatar
      Convert some more functions to standard C. · 7c3320d8
      Juanma Barranquero authored
      * lib-src/emacsclient.c (get_current_dir_name, w32_get_resource)
        (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
        (close_winsock, initialize_sockets, w32_find_emacs_process)
        (w32_give_focus):
      * lib-src/ntlib.c (getlogin, getuid, getgid, getegid):
      * nt/addpm.c (add_registry, main):
      * nt/cmdproxy.c (get_env_size):
      * nt/ddeclient.c (main):
      * nt/runemacs.c (set_user_model_id):
      * src/alloc.c (emacs_blocked_free, emacs_blocked_malloc)
        (emacs_blocked_realloc, uninterrupt_malloc):
      * src/fringe.c (w32_reset_fringes):
      * src/image.c (convert_mono_to_color_image, lookup_rgb_color)
        (init_color_table, XPutPixel, jpeg_resync_to_restart_wrapper):
      * src/sound.c (be2hs, do_play_sound):
      * src/vm-limit.c (get_lim_data, ret_lim_data):
      * src/w32term.c (x_free_frame_resources):
      * src/xfaces.c (x_create_gc, x_free_gc):
        Convert definitions to standard C.
      7c3320d8
  2. 03 Apr, 2010 2 commits
  3. 13 Jan, 2010 1 commit
  4. 21 Mar, 2009 1 commit
    • Eli Zaretskii's avatar
      inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned. · 22749e9a
      Eli Zaretskii authored
      inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid to unsigned.
      	  (getpwuid): Argument is now unsigned.
      	  uid_t is now unsigned.
      
      ntlib.c (setuid): Argument is now unsigned.
      	(getuid): Return value is now unsigned.
      	(getpwuid): Argument is now unsigned.
      	(fchown): UID and GID arguments are now unsigned.
      
      ntlib.h (fchown): UID and GID arguments are now unsigned.
      	(getuid): Return value is now unsigned.
      	(setuid): Argument is now unsigned.
      	(getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
      
      w32.c   (getpwuid): Change argument type to unsigned.
      	(struct w32_id): Change type of `rid' member to unsigned.
      	(w32_cached_id, w32_add_to_cache, get_name_and_id): Change type of
      	argument ID to unsigned.  All callers changed.
      	(getuid, geteuid, getgid, getegid): Change return type to unsigned.
      22749e9a
  5. 08 Jan, 2009 1 commit
  6. 09 May, 2008 2 commits
  7. 07 Jan, 2008 1 commit
  8. 25 Jul, 2007 1 commit
  9. 16 Jan, 2007 1 commit
  10. 06 Feb, 2006 1 commit
  11. 07 Aug, 2005 1 commit
  12. 04 Jul, 2005 1 commit
  13. 16 Apr, 2004 1 commit
  14. 08 Sep, 2003 1 commit
  15. 01 Sep, 2003 1 commit
  16. 04 Feb, 2003 1 commit
  17. 22 Aug, 2000 1 commit
  18. 30 May, 1998 1 commit
  19. 03 Sep, 1997 1 commit
  20. 15 Jul, 1996 1 commit
  21. 03 May, 1996 1 commit
    • Geoff Voelker's avatar
      Include ntlib.h. · 14f29224
      Geoff Voelker authored
      (nt_sleep): Rename to sleep.
      (getwd): Return directory.
      (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
      sys_ctime, sys_fopen): New functions.
      14f29224
  22. 19 Mar, 1996 1 commit
  23. 15 Jan, 1996 1 commit
  24. 01 Nov, 1994 1 commit