summaryrefslogtreecommitdiff
path: root/update.h
diff options
context:
space:
mode:
Diffstat (limited to 'update.h')
-rw-r--r--update.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/update.h b/update.h
index e2f5ee6..a68eade 100644
--- a/update.h
+++ b/update.h
@@ -27,14 +27,12 @@
#ifndef __NVIDIA_INSTALLER_UPDATE_H__
#define __NVIDIA_INSTALLER_UPDATE_H__
+#include "nvgetopt.h"
#include "nvidia-installer.h"
-#define _GNU_SOURCE /* XXX not portable */
-#include <getopt.h>
-
int update(Options *);
int report_latest_driver_version(Options *);
char *append_update_arguments(char *s, int c, const char *arg,
- struct option l[]);
+ const NVGetoptOption *options);
#endif /* __NVIDIA_INSTALLER_UPDATE_H__ */