* secmem/util.c (init_uids): Make it a prototype.
authorWerner Koch <wk@gnupg.org>
Tue, 5 Nov 2002 19:44:36 +0000 (19:44 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 5 Nov 2002 19:44:36 +0000 (19:44 +0000)
commita50064e72633422d882930402ee26edd108014cb
tree194ae8727dab7e44a8140dac860636d029d4202a
parentf7d7ddfbc579b87051aec0285bf8426c60e4303c
* secmem/util.c (init_uids): Make it a prototype.

* gtk/pinentry-gtk.c (enter_callback): Changed argument name to
avoid shadowing warning.
(create_window): Removed unused variable I.
(ok): Not used, commented.

* pinentry/pinentry.c: Include headers for getpid and sleep
prototypes.

* secmem/util.h: Correctly declare functions taking no args.

* gtk/pinentry-gtk.c: Move gtk headers to the top to avoid
compiler warnings about shadowing index etc.

* curses/pinentry-curses.c: Include stdio.h for the printf prototype.

* pinentry/pinentry-curses.c (dialog_switch_pos): Return a value.

* pinentry/pinentry.c (pinentry_have_display): New.
(pinentry_setbufferlen): Must return a value. Fixed documentation.
(usage): Print a question mark as a substitue for the program name.

* gtk/pinentry-gtk.c (main): use it here instead of getenv().
* qt/main.cpp (main): Ditto.
ChangeLog
NEWS
curses/pinentry-curses.c
gtk/pinentry-gtk.c
pinentry/pinentry-curses.c
pinentry/pinentry.c
pinentry/pinentry.h
qt/main.cpp
secmem/util.c
secmem/util.h